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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x54de9d
sub esp, 0xac
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax]
mov edx, dword [esp + 0xbc]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0050bba0
mov eax, dword [esp + 8]
test eax, eax
jg 0x54de3a
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x54de1f
xor ecx, ecx
test ecx, ecx
je 0x54ddf3
mov ecx, dword [esp + 0xb0]
test ecx, ecx
jne 0x54dac5
mov ecx, dword [esp + 0xbc]
xor edx, edx
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x44], edx
mov esi, dword [eax + 0x18]
test esi, esi
je 0x54da83
lea eax, [0x645440]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0xc]
test ebx, ebx
jbe 0x54de93
mov ecx, dword [ebp]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.0050be90
mov eax, dword [esp + 0x10]
mov byte [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0xc]
cmp ebx, 1
jbe 0x54de87
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x5c]
mov dword [esp], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.0050be90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0050b3d0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x54da68
xor ecx, ecx
test ecx, ecx
jge 0x54d820
mov edx, dword [esp + 0xb8]
mov ecx, dword [edx + 0x10]
mov ebx, dword [edx + 0xc]
test ecx, ecx
jbe 0x54de80
mov ecx, dword [ebx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0050b190
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x30]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0050b610
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
test ecx, ecx
jbe 0x54de79
mov eax, dword [edx]
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0050b990
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ecx, 1
jbe 0x54de6f
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0050b610
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.0050b190
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x24]
test ecx, ecx
jle 0x54d9c9
mov dword [esp + 0x24], ecx
xor ebx, ebx
jmp 0x54d8db
mov ebp, dword [esp + 0x54]
lea edx, [ebp + 0xc]
mov ebx, eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x54], edx
mov ebp, dword [edx + 4]
mov dword [esp + 0x50], ebp
mov esi, dword [edx + 8]
mov dword [esp + 0x4c], esi
mov edi, dword [edx]
mov edx, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
lea ebp, [ebx + 2]
cmp edx, ebp
jbe 0x54de66
mov dword [esp + 0x20], ebx
mov eax, dword [esi + ebx*4 + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov edx, dword [esp + 0xbc]
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
call fcn.0050be90
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
call fcn.0050b3d0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
call fcn.0050b610
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
call fcn.0050b990
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x54da4d
xor ecx, ecx
test ecx, ecx
jl 0x54da30
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
call fcn.0050b610
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.0050b190
mov eax, dword [esp + 0x20]
inc eax
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jg 0x54d8cb
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x54d9f9
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc8], eax
add esp, 0xac
ret
mov dword [esp + 0x50], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0050b610
mov eax, dword [esp + 0xb8]
mov eax, dword [eax]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0050b990
mov eax, dword [esp + 0x50]
jmp 0x54d9d5
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
call fcn.0050b190
mov eax, dword [esp + 0x34]
jmp 0x54d98c
movzx ecx, byte [eax]
test cl, cl
je 0x54da5e
mov ecx, 0xffffffff
jmp 0x54d984
mov ecx, 1
jmp 0x54d984
movzx edx, byte [eax]
test dl, dl
je 0x54da79
mov ecx, 0xffffffff
jmp 0x54d7f5
mov ecx, 1
jmp 0x54d7f5
lea eax, [0x645440]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.0050be90
mov eax, dword [esp + 0x10]
jmp 0x54d9cd
mov dword [esp], ecx
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
call fcn.005240a0
mov byte [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax]
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.00549840
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x54ddd3
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x28], eax
mov dword [esp], ecx
mov eax, dword [0x81a82c]
mov dword [esp + 4], eax
call fcn.0050bba0
mov eax, dword [esp + 8]
test eax, eax
jne 0x54ddca
mov eax, dword [0x81a828]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx]
lea ebx, [esp + 0x9c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0050db20
mov eax, dword [esp + 0xc]
test eax, eax
je 0x54db01
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 4]
mov byte [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea edx, [esp + 0x8c]
mov dword [esp], edx
mov dword [esp + 4], ecx
sar ecx, 0x1f
mov dword [esp + 8], ecx
call fcn.0050afe0
mov eax, dword [esp + 0xc]
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx]
lea ebx, [esp + 0x7c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.0050be90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov byte [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0x6c]
cmp ecx, edx
je 0x54dcd3
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
test ebx, ebx
jg 0x54dd2e
mov esi, ebx
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov ebx, esi
cmp esi, ebx
jge 0x54dd27
mov dword [esp + 0x48], edi
mov dword [esp + 0x18], ebx
cmp edi, ebp
je 0x54dcad
mov dword [esp], edi
mov dword [esp + 4], ebp
shl esi, 2
mov dword [esp + 8], esi
call fcn.0045b690
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xbc]
movzx eax, byte [eax]
mov byte [esp + 0x6c], al
lea eax, [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
call fcn.0050b610
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0050b990
mov eax, dword [esp + 0xb8]
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x9c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x58]
jmp 0x54d702
mov esi, ebx
jmp 0x54dc8e
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebx
cmp ebx, 1
jne 0x54dd8b
lea eax, [0x633500]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00442930
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0x6c]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov ebx, 1
mov eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
jmp 0x54dc86
lea eax, [0x633500]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [ebx + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 8], eax
call fcn.00442930
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0x6c]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov ebx, esi
jmp 0x54dc86
mov eax, dword [esp + 0x3c]
jmp 0x54db6c
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], edx
add esp, 0xac
ret
mov eax, dword [0x81b968]
mov ecx, dword [0x81b96c]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xac
ret
movzx ecx, byte [ecx]
test cl, cl
je 0x54de30
mov ecx, 0xffffffff
jmp 0x54d6de
mov ecx, 1
jmp 0x54d6de
mov eax, dword [0x81b968]
mov ecx, dword [0x81b96c]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xac
ret
mov eax, ebp
mov ecx, edx
call fcn.0045ad60
mov eax, 1
call fcn.0045ad60
xor eax, eax
call fcn.0045ad60
xor eax, eax
call fcn.0045ad60
mov eax, 1
mov ecx, ebx
call fcn.0045ad60
xor eax, eax
mov ecx, ebx
call fcn.0045ad60
nop
call fcn.00459790
jmp fcn.0054d680