Function at 0x54d520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x54d91b
sub esp, 0x70
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.005390b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
test ebx, ebx
jne 0x54d904
lea edx, [0x6621c0]
cmp ecx, edx
jne 0x54d8f8
mov ebx, eax
mov dword [esp + 0x48], eax
jne 0x54d80b
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x24]
mov edx, dword [edx + 0x24]
test edx, edx
jne 0x54d718
mov edx, dword [eax + 0xb0]
mov ebx, dword [eax + 0xb8]
mov ebp, dword [eax + 0xb4]
test ebp, ebp
je 0x54d6f6
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x44], edx
mov dword [esp + 0x30], ebx
mov eax, dword [ecx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00534370
movzx eax, word [esp + 0x14]
movzx ecx, byte [esp + 0x16]
mov edx, dword [esp + 0x74]
mov word [edx + 0x20], ax
test cl, cl
jne 0x54d6c1
mov dword [esp], edx
mov byte [esp + 4], 0x46
call fcn.00538680
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
call fcn.004074b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea ecx, [0x6338c0]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
nop
lea eax, [0x6940cd]
mov dword [esp], eax
mov dword [esp + 4], 0x31
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0049f310
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
nop
lea edx, [0x64cca0]
mov dword [esp], edx
call fcn.00409a20
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x20]
mov dword [edi + 4], eax
mov eax, dword [0x8a6100]
test eax, eax
jne 0x54d6b6
mov eax, dword [esp + 0x38]
mov dword [edi], eax
mov dword [esp + 0x78], 0
lea eax, [0x6e5880]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edi
add esp, 0x70
ret
mov eax, dword [esp + 0x38]
call fcn.0044d090
jmp 0x54d699
mov byte [edx + 0x22], 1
movzx ecx, word [edx + 0x20]
mov word [edx + 0xc0], cx
mov word [edx + 0x118], ax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x70
ret
movzx ecx, word [eax + 0xc]
mov word [esp], cx
call fcn.00534270
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x74]
jmp 0x54d5a3
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005519a0
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 0x24]
mov dword [esp], edx
mov edx, dword [ecx]
mov ebx, edx
mov edx, ecx
call ebx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test ecx, ecx
jne 0x54d7d3
test eax, eax
jne 0x54d762
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x74]
jmp 0x54d589
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ecx, [0x56bac0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x5c], ecx
lea edx, [eax + 0xa8]
mov dword [esp], edx
lea edx, [esp + 0x54]
mov dword [esp + 4], edx
call fcn.0045bfc0
mov eax, dword [0x8a6100]
test eax, eax
jne 0x54d7c1
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x24], eax
jmp 0x54d755
mov ecx, dword [esp + 0x74]
lea edi, [ecx + 0x24]
mov eax, dword [esp + 0x3c]
call fcn.0044d090
jmp 0x54d755
mov dword [esp + 0x28], ecx
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00538680
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], eax
add esp, 0x70
ret
mov dword [esp + 0x44], ebx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.00538680
nop
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], eax
lea eax, [0x6621c0]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x6c], eax
nop
lea eax, [0x696ad1]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.0049f310
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
nop
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
lea edx, [0x64cca0]
mov dword [esp], edx
call fcn.00409a20
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [0x8a6100]
test eax, eax
jne 0x54d8ed
mov eax, dword [esp + 0x34]
mov dword [edi], eax
mov dword [esp + 0x78], 0
lea eax, [0x6e5880]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edi
add esp, 0x70
ret
mov eax, dword [esp + 0x34]
call fcn.0044d090
jmp 0x54d8d0
mov ebx, eax
mov eax, 0
jmp 0x54d56d
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], edx
add esp, 0x70
ret
call fcn.0044b940
jmp fcn.0054d520