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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xcc]
cmp eax, dword [ecx + 8]
jbe 0x54a9e7
sub esp, 0x14c
mov eax, 0
lea edi, [esp + 0x138]
call fcn.0045e0ab
mov byte [esp + 0x2e], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
mov ecx, dword [esp + 0x150]
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x54a9a5
mov byte [ecx + 0x30], 0
mov dword [esp], ecx
call fcn.005494e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x154], ecx
mov dword [esp + 0x158], edx
test ebx, ebx
jne 0x54a99e
mov dword [esp + 0x60], esi
mov dword [esp + 0x74], ebp
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov ebx, dword [esp + 0x150]
mov dword [ebx + 0x68], edx
mov edx, dword [0x7a0970]
test edx, edx
jne 0x54a98b
mov dword [ebx + 0x64], ecx
mov dword [esp + 0x58], eax
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0054aa00
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x64], ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x34], esi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x40], edi
test edx, edx
je 0x54a97c
test eax, eax
je 0x54a97c
lea edi, [0x626ef8]
mov dword [esp + 0x140], edi
lea edi, [esp + 0x154]
mov dword [esp + 0x13c], edi
mov edi, dword [esp + 0x150]
mov dword [esp + 0x138], edi
mov dword [esp + 0x144], ecx
mov dword [esp + 0x148], edx
mov byte [esp + 0x2e], 1
mov dword [esp + 0x4c], eax
mov eax, 1
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00553000
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x150]
mov dword [esp], ebx
mov byte [esp + 4], 0x16
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.00546f10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x54a375
mov dword [esp + 0x154], ecx
mov dword [esp + 0x158], edx
movzx eax, byte [esp + 0x2f]
test al, 1
jne 0x54a33c
add esp, 0x14c
ret
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x148]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0055eb30
jmp 0x54a335
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.00546ff0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
mov dword [esp + 0x154], eax
mov dword [esp + 0x158], ecx
test edx, edx
je 0x54a3f8
movzx eax, byte [esp + 0x2f]
test al, 1
jne 0x54a3bf
add esp, 0x14c
ret
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x148]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0055eb30
jmp 0x54a3b8
lea eax, [0x5e6900]
cmp ebp, eax
jne 0x54a972
mov dword [esp + 0x70], ebx
jne 0x54a87a
mov eax, dword [esp + 0x150]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0054b8c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x54a48b
mov dword [esp + 0x154], ecx
mov dword [esp + 0x158], edx
movzx eax, byte [esp + 0x2f]
test al, 1
jne 0x54a452
add esp, 0x14c
ret
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x148]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0055eb30
jmp 0x54a44b
mov eax, dword [esp + 0x150]
mov ecx, dword [eax + 0x28]
mov dword [esp], ecx
call fcn.00540740
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x54a872
xor eax, eax
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov ebp, dword [edx + 0x18]
cmp ecx, 0x18
jb 0x54a9d0
add ebp, 0xffffffe8
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 0x18
lea esi, [ebx + ebp]
cmp ecx, 0x20
jne 0x54a866
cmp dword [esi], 0x4e574f44
jne 0x54a863
mov edi, edx
lea edx, [ebx + ebp + 4]
cmp dword [edx], 0x1445247
sete dl
cmp ecx, 0x20
jne 0x54a85c
cmp dword [esi], 0x4e574f44
jne 0x54a85c
lea ecx, [ebx + ebp + 4]
cmp dword [ecx], 0x445247
sete cl
cmp ax, 0x304
jne 0x54a850
mov ebx, dword [esp + 0x150]
cmp word [ebx + 0x24], 0x303
ja 0x54a5d6
test dl, dl
je 0x54a5ce
mov dword [esp], ebx
mov byte [esp + 4], 0x2f
call fcn.005464e0
lea eax, [0x5e46a0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x54
lea ecx, [0x620d00]
mov dword [eax], ecx
lea ecx, [0x65e99c]
mov dword [esp + 0x154], ecx
mov dword [esp + 0x158], eax
movzx eax, byte [esp + 0x2f]
test al, 1
jne 0x54a595
add esp, 0x14c
ret
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x148]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0055eb30
jmp 0x54a58e
test cl, cl
jne 0x54a542
cmp ax, 0x303
jne 0x54a5ec
cmp word [ebx + 0x24], 0x302
ja 0x54a5ec
test cl, cl
jne 0x54a542
cmp word [ebx + 0x24], 0x304
jne 0x54a6f5
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.0045e099
mov dword [esp + 0xdc], ebx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xf0], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xfc], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x104], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x108], ecx
lea ecx, [esp + 0xdc]
mov dword [esp], ecx
call fcn.0054f7b0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x154], ecx
mov dword [esp + 0x158], edx
movzx ecx, byte [esp + 0x2f]
test cl, 1
jne 0x54a6bc
add esp, 0x14c
ret
and ecx, 0xfffffffe
mov byte [esp + 0x2e], cl
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x148]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0055eb30
jmp 0x54a6b5
lea edi, [esp + 0x88]
xor eax, eax
call fcn.0045e09b
mov dword [esp + 0x88], ebx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xd8], ecx
lea edx, [esp + 0x88]
mov dword [esp], edx
call fcn.0054ba00
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
test ecx, ecx
je 0x54a7a2
mov dword [esp + 0x154], edx
mov dword [esp + 0x158], ebx
movzx eax, byte [esp + 0x2f]
test al, 1
jne 0x54a769
add esp, 0x14c
ret
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x148]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0055eb30
jmp 0x54a762
mov eax, dword [esp + 0x38]
test eax, eax
je 0x54a7bd
mov ecx, dword [esp + 0xd8]
test ecx, ecx
je 0x54a7bd
mov edx, dword [esp + 0x54]
cmp edx, ecx
jne 0x54a81d
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
movzx eax, byte [esp + 0x2f]
test al, 1
jne 0x54a7e4
add esp, 0x14c
ret
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x148]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0055eb30
jmp 0x54a7dd
mov edx, dword [esp + 0x150]
mov edx, dword [edx + 0x28]
mov ebx, dword [edx + 0x84]
mov edx, dword [edx + 0x88]
mov ebx, dword [ebx + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call ebx
jmp 0x54a7bd
mov ebx, dword [esp + 0x150]
jmp 0x54a5d6
xor ecx, ecx
jmp 0x54a51d
cmp ecx, 0x20
mov edi, edx
mov edx, 0
jmp 0x54a4fe
movzx eax, word [ecx]
jmp 0x54a4af
mov dword [esp + 0x74], ebp
mov dword [esp + 0x5c], esi
mov eax, dword [esp + 0x150]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005464e0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x7c], eax
lea eax, [0x5e6900]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x84], eax
lea eax, [0x6206e2]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004ad3c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x154], eax
mov dword [esp + 0x158], ecx
movzx eax, byte [esp + 0x2f]
test al, 1
jne 0x54a939
add esp, 0x14c
ret
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x148]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0055eb30
jmp 0x54a932
mov ebx, 0
jmp 0x54a406
mov dword [esp + 0x44], eax
xor eax, eax
mov byte [esp + 0x2f], al
jmp 0x54a2d5
lea edi, [ebx + 0x64]
mov edx, eax
mov eax, ecx
call fcn.0045de10
mov eax, edx
jmp 0x54a224
add esp, 0x14c
ret
mov edx, dword [0x7a0970]
test edx, edx
jne 0x54a9bd
lea eax, [0x783c40]
mov dword [ecx + 0x28], eax
jmp 0x54a1c1
lea edi, [ecx + 0x28]
lea eax, [0x783c40]
call fcn.0045de10
jmp 0x54a1c1
mov eax, 0x18
call fcn.0045def0
nop
call fcn.00430cc0
add esp, 0x14c
ret
call fcn.0045c8b0
jmp fcn.0054a160