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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x543132
sub esp, 0xb8
mov ecx, dword [esp + 0xbc]
movzx edx, byte [ecx + 0x38c]
test dl, dl
je 0x542dfa
mov eax, dword [ecx + 0x390]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.004055c0
mov ecx, dword [esp + 0xbc]
lea edi, [esp + 0x20]
xor eax, eax
call fcn.00465fca
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx + 0x33c]
mov ebx, dword [ecx + 0x340]
mov dword [esp + 0x1c], ebx
lea ebp, [0x6a7360]
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00409930
mov ecx, dword [esp + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
lea ecx, [0x78519c]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xbc]
lea ebx, [edx + 0x204]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ecx
lea ebx, [edx + 0x220]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
lea ebx, [edx + 0x23c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ecx
lea ebx, [edx + 0x258]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ecx
lea ebx, [edx + 0x274]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ecx
lea ebx, [edx + 0x290]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ecx
lea ecx, [edx + 0x2ac]
mov dword [esp + 0x5c], ecx
mov ecx, dword [edx + 0x308]
mov ebx, dword [edx + 0x30c]
mov dword [esp + 0x1c], ebx
lea ebp, [0x6a7360]
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.00409930
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x64], ecx
lea ecx, [0x7851b0]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0xbc]
lea ebx, [edx + 0x310]
mov dword [esp + 0x6c], ebx
mov ebx, dword [edx + 0x324]
mov ebp, dword [edx + 0x328]
mov dword [esp + 0x1c], ebp
lea esi, [0x6a7360]
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.00409930
mov ecx, dword [esp + 8]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x74], ecx
lea ecx, [0x7851b0]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0xbc]
lea ebx, [edx + 0x2d8]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ecx
lea ebx, [edx + 0x2e8]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ecx
lea ebx, [edx + 0x2f8]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ecx
lea ebx, [edx + 0x2c8]
mov dword [esp + 0x94], ebx
mov ebx, dword [edx + 0x34c]
mov ebp, dword [edx + 0x350]
mov dword [esp + 0x1c], ebp
lea esi, [0x6a7360]
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.00409930
mov ecx, dword [esp + 8]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x9c], ecx
lea ecx, [0x7851b0]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0xbc]
lea edx, [ecx + 0x354]
mov dword [esp + 0xa4], edx
mov edx, dword [ecx + 0x374]
mov ebx, dword [ecx + 0x378]
mov dword [esp + 0x1c], ebx
lea ebp, [0x6a7360]
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00409930
mov ecx, dword [esp + 8]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx + 0x37c]
lea ebx, [0x7851d8]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], edx
xor eax, eax
jmp 0x54303a
inc eax
cmp eax, 0x13
jge 0x543065
lea edx, [esp + eax*8 + 0x20]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
test ebx, ebx
je 0x543039
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x10]
mov dword [esp], edx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xbc]
jmp 0x543039
mov eax, dword [ecx + 0x1e8]
mov dword [esp + 0x18], eax
mov edx, dword [ecx + 0x1ec]
mov dword [esp + 0x10], edx
xor ebx, ebx
jmp 0x543082
mov byte [ebp + 0xa], 0
inc ebx
cmp ebx, edx
jge 0x5430e6
mov ebp, dword [eax + ebx*4]
nop
mov esi, dword [ebp]
mov edi, dword [ebp + 4]
test esi, esi
je 0x54307d
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], ebp
mov eax, dword [esi + 0x18]
mov dword [esp], edi
call eax
mov eax, dword [esp + 0x14]
mov dword [eax], 0
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x5430c1
mov dword [eax + 4], 0
jmp 0x5430cf
lea edi, [eax + 4]
mov ecx, eax
xor eax, eax
call fcn.00465d80
mov eax, ecx
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov ebp, eax
mov eax, dword [esp + 0x18]
jmp 0x54307d
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov eax, dword [eax + 0x84]
mov dword [esp], edx
call eax
mov eax, dword [0x1eaa9f0]
test eax, eax
jne 0x543112
mov edi, dword [esp + 0xbc]
mov ecx, 0xea
xor eax, eax
rep stosd dword es:[edi], eax
jmp 0x54312b
lea eax, [0x6e1720]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
call fcn.004117d0
add esp, 0xb8
ret
call fcn.004649b0
jmp fcn.00542db0