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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xe8]
cmp eax, dword [ecx + 8]
jbe 0x54f071
sub esp, 0x168
lea eax, [0x605220]
mov dword [esp], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004450a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x174]
test ecx, ecx
jg 0x54ef16
mov ebx, dword [esp + 0x16c]
mov ebp, dword [ebx + 0x28]
movzx esi, byte [ebp + 0x50]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x54ef0d
mov ebp, dword [ebp + 8]
test ebp, ebp
je 0x54ef02
mov eax, dword [ebp]
mov edx, ebp
call eax
lea edi, [esp + 0xc4]
lea esi, [esp]
call fcn.0045e58e
lea edi, [esp + 0xb0]
lea esi, [esp + 0xc4]
call fcn.0045e58e
call fcn.0040c3b0
mov eax, dword [esp]
mov dword [esp + 0xa0], eax
call fcn.0040c3b0
mov eax, dword [esp]
mov dword [esp + 0x9c], eax
lea ecx, [0x5f07c0]
mov dword [esp], ecx
call fcn.0040b8d0
mov edi, dword [esp + 4]
mov eax, dword [0x7a0970]
test eax, eax
jne 0x54eeda
mov ecx, dword [esp + 0xa0]
mov dword [edi], ecx
mov ecx, dword [esp + 0x9c]
mov dword [edi + 0x10], ecx
mov dword [esp + 0x7c], edi
lea edi, [esp + 0xd8]
xor eax, eax
call fcn.0045e0a3
mov ecx, dword [esp + 0x16c]
mov edx, dword [ecx + 0x28]
mov edx, dword [edx + 0x30]
mov dword [esp + 0xe4], edx
lea edi, [esp + 0xe8]
lea esi, [esp + 0xb0]
call fcn.0045e58e
mov ecx, dword [esp + 0x16c]
mov edx, dword [ecx + 0x28]
mov ebx, dword [edx + 0x40]
mov edx, dword [edx + 0x44]
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0xe0], edx
mov edx, dword [esp + 0x174]
cmp edx, 1
jb 0x54f064
lea eax, [edx - 1]
mov dword [esp + 0x78], eax
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 4
mov ebp, dword [esp + 0xa4]
add eax, ebp
mov dword [esp + 0x98], eax
xor esi, esi
jmp 0x54eb9f
mov dword [esp + 0x74], esi
mov ecx, dword [eax + esi*4]
mov edx, dword [esp + 0xe0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00525e00
mov eax, dword [esp + 0x74]
lea esi, [eax + 1]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x174]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0xa4]
cmp ebx, esi
jg 0x54eb5e
mov eax, dword [ebp]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0xd8]
call fcn.0045e53e
call fcn.0052a4a0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x44]
mov esi, ebp
mov ebp, dword [esp + 0x48]
mov edi, ebp
mov ebp, dword [esp + 0x16c]
mov dword [ebp + 0x5c], ecx
mov dword [ebp + 0x60], edx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x54eec7
mov dword [ebp + 0x58], eax
test ebx, ebx
jne 0x54ee89
mov ecx, dword [esp + 0x174]
test ecx, ecx
jbe 0x54f05d
mov eax, dword [esp + 0xa4]
mov ebx, dword [eax]
mov ebx, dword [ebx + 0x50]
test ebx, ebx
je 0x54edc1
mov esi, dword [ebx + 8]
cmp esi, 0x188a5798
jne 0x54ee4f
lea esi, [0x5e1640]
cmp esi, ebx
jne 0x54edc1
mov dword [ebp + 0x50], ecx
mov dword [ebp + 0x54], ecx
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x54edb4
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x28]
mov edx, dword [eax + 0x28]
test edx, edx
jne 0x54ed21
mov eax, dword [ebp + 0x28]
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x54ec8c
mov dword [esp + 0x17c], 0
mov dword [esp + 0x180], 0
add esp, 0x168
ret
mov dword [esp], ebp
call fcn.00549360
lea edi, [esp + 0x10c]
lea esi, [esp + 4]
call fcn.0045e4da
mov eax, dword [esp + 0x16c]
mov ecx, dword [eax + 0x28]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [edx]
mov dword [esp + 0x70], ecx
lea edi, [esp]
lea esi, [esp + 0x10c]
call fcn.0045e4da
mov ecx, dword [esp + 0x70]
call ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
test eax, eax
je 0x54ec6f
mov dword [esp + 0x84], edx
mov dword [esp + 0x94], ecx
mov eax, dword [esp + 0x16c]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.005464e0
mov eax, dword [esp + 0x94]
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x180], eax
add esp, 0x168
ret
mov eax, dword [edx]
mov ebx, dword [ebp + 0x58]
mov esi, dword [ebp + 0x5c]
mov edi, dword [ebp + 0x60]
mov ebp, dword [esp + 0x170]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x178]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x54ed6f
mov ebp, dword [esp + 0x16c]
jmp 0x54ec65
mov dword [esp + 0x88], ebx
mov dword [esp + 0x94], ecx
mov eax, dword [esp + 0x16c]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.005464e0
mov eax, dword [esp + 0x94]
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x180], eax
add esp, 0x168
ret
lea edi, [ebp + 0x4c]
call fcn.0045de10
jmp 0x54ec57
mov dword [esp], ebp
mov byte [esp + 4], 0x2b
call fcn.005464e0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov eax, dword [esp + 0xa4]
mov eax, dword [eax]
mov ecx, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
lea eax, [0x62069a]
mov dword [esp], eax
mov dword [esp + 4], 0x48
lea eax, [esp + 0xa8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ad3c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], ecx
add esp, 0x168
ret
cmp esi, 0x2fd00e80
jne 0x54ee6a
lea esi, [0x5fdae0]
cmp esi, ebx
je 0x54ec40
jmp 0x54edc1
cmp esi, 0xcc456746
jne 0x54edc1
lea esi, [0x5e62a0]
cmp esi, ebx
je 0x54ec40
jmp 0x54edc1
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], esi
mov dword [esp], ebp
mov byte [esp + 4], 0x2a
call fcn.005464e0
mov eax, dword [esp + 0x90]
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x180], eax
add esp, 0x168
ret
lea ecx, [ebp + 0x58]
mov edx, edi
mov edi, ecx
call fcn.0045de10
mov edi, edx
jmp 0x54ebf8
mov eax, dword [esp + 0xa0]
call fcn.0045de10
lea ecx, [edi + 0x10]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x9c]
call fcn.0045de10
mov edi, edx
jmp 0x54eac7
lea ebp, [0x627344]
jmp 0x54ea4d
test ecx, ecx
mov ebp, ebx
jmp 0x54ec09
mov edx, dword [esp + 0x170]
xor ebx, ebx
jmp 0x54ef2b
mov eax, dword [esp + 0x8c]
lea edx, [eax + 0xc]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x8c], edx
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov ebp, dword [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.005301c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test ecx, ecx
jne 0x54ef95
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0xa4]
lea edi, [ebp + ebx*4]
mov esi, dword [0x7a0970]
test esi, esi
jne 0x54ef8e
mov dword [ebp + ebx*4], eax
inc ebx
mov ecx, dword [esp + 0x174]
cmp ecx, ebx
jg 0x54ef21
mov eax, ebp
jmp 0x54ea2a
call fcn.0045de10
jmp 0x54ef7b
mov dword [esp + 0x94], edx
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x16c]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.005464e0
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x61d36c]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2e
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004484b0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], ecx
lea edx, [0x5e46a0]
mov dword [esp], edx
call fcn.0040b8d0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x64]
mov dword [edi + 4], eax
mov eax, dword [0x7a0970]
test eax, eax
jne 0x54f04f
mov eax, dword [esp + 0x80]
mov dword [edi], eax
lea eax, [0x65e99c]
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], edi
add esp, 0x168
ret
mov eax, dword [esp + 0x80]
call fcn.0045de10
jmp 0x54f034
xor eax, eax
call fcn.0045de90
mov eax, 1
mov ecx, edx
call fcn.0045def0
nop
call fcn.0045c8b0
jmp fcn.0054e9d0