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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x54f1f6
sub esp, 0x9c
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.0054f300
mov eax, dword [esp + 4]
test eax, eax
jle 0x54e9ab
cmp eax, 0x3e8
jle 0x54e983
mov eax, 0x3e8
mov dword [esp + 0x58], eax
lea ecx, [0x5a6c60]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00449d70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x58]
mov edx, eax
mov eax, ecx
jmp 0x54e9af
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x80], edx
lea ebx, [0x5c4a60]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.0040c7b0
mov eax, dword [esp + 0xa4]
add eax, 0xfffffe70
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xa8]
adc ecx, 0xffffffff
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x98], edx
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx]
mov dword [esp], ebp
mov dword [esp + 4], 1
call fcn.005375d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test eax, eax
jne 0x54eaf4
test ecx, ecx
jbe 0x54f1ec
movzx eax, byte [edx]
cmp al, 0x20
je 0x54ea43
cmp al, 9
jne 0x54eaf4
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.0054dc30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
test eax, eax
je 0x54ea8d
mov eax, dword [esp + 0x98]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
add esp, 0x9c
ret
mov dword [esp], 0
lea eax, [0x5eb1b6]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x24
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044d7c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409590
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xb4], ecx
lea ecx, [0x62dc6c]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x9c
ret
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x4c]
jmp 0x54eb25
mov edi, eax
mov eax, edx
mov edx, ebp
mov ebp, ecx
mov ecx, ebx
mov ebx, esi
mov esi, edi
mov dword [esp + 0x70], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x74], ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], eax
mov edi, dword [esp + 0xa0]
mov dword [esp], edi
lea edi, [0x5f5c54]
mov dword [esp + 4], edi
call fcn.0054de50
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
test ecx, ecx
je 0x54f00f
mov dword [esp + 0x50], ecx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x8c], esi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x84], edx
mov ebx, dword [0x780c30]
mov ebp, dword [0x780c34]
mov esi, dword [0x780c38]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004740a0
movzx eax, byte [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
test al, al
je 0x54ef9d
mov dword [esp + 0x7c], edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edi
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.0054f620
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x10]
test cl, cl
je 0x54ef2b
mov dword [esp + 0x88], eax
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x7c]
xor ecx, ecx
jmp 0x54f04c
test edx, edx
jne 0x54ec58
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x80]
jmp 0x54eb17
mov ecx, dword [esp + 0x74]
add ecx, 0xffffffff
mov esi, dword [esp + 0x68]
adc esi, 0xffffffff
test esi, esi
jl 0x54f1a5
mov dword [esp + 0x68], esi
mov dword [esp + 0x74], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
lea eax, [0x5d7826]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.00473360
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044da70
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x78], ecx
lea edx, [0x5c4a60]
mov dword [esp], edx
mov ebx, dword [esp + 0x98]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x88]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x54]
mov dword [esp + 0xc], esi
call fcn.0040f660
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
test ecx, ecx
je 0x54ed12
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
jmp 0x54ed32
mov ebp, dword [esp + 0x54]
mov esi, ebp
sar ebp, 0x1f
mov ebx, dword [esp + 0x6c]
sub ebx, esi
mov edi, esi
mov esi, dword [esp + 0x70]
sbb esi, ebp
add ebx, 0xffffff38
adc esi, 0xffffffff
mov dword [esp + 0x38], edx
mov ebp, dword [esp + 0x3c]
sar ebp, 0x1f
mov edx, dword [esp + 0x3c]
sub ebx, edx
sbb esi, ebp
test esi, esi
jl 0x54f15b
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], esi
test ecx, ecx
je 0x54ed62
mov ebp, dword [esp + 0x4c]
jmp 0x54ee1c
mov ebp, dword [esp + 0x4c]
test ebp, ebp
je 0x54ee1c
mov ecx, dword [esp + 0x80]
mov dword [ecx + 4], edx
lea edx, [ebp - 1]
mov dword [esp + 0x48], edx
neg edx
sar edx, 0x1f
and edx, 8
add edx, ecx
mov dword [esp + 0x90], edx
mov ebx, dword [0x7adde0]
test ebx, ebx
jne 0x54eda2
mov ebx, dword [esp + 0x78]
mov dword [ecx], ebx
jmp 0x54edb1
mov ebx, edi
mov edi, ecx
mov eax, dword [esp + 0x78]
call fcn.00462400
mov edi, ebx
lea eax, [0x5c4a60]
mov dword [esp], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x88]
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
call fcn.0040fcf0
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov eax, dword [0x7adde0]
test eax, eax
jne 0x54ee00
mov eax, dword [esp + 0x80]
mov dword [edi], eax
jmp 0x54ee0c
mov eax, dword [esp + 0x80]
call fcn.00462400
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x90]
jmp 0x54ef0a
lea ebx, [eax + 1]
mov eax, esi
mov esi, dword [esp + 0x38]
cmp esi, ebx
jae 0x54ee69
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x5a6c60]
mov dword [esp + 0x10], eax
call fcn.00449e30
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
mov esi, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], esi
lea ebp, [ecx + ebx*8 - 4]
mov dword [ebp], edx
lea edx, [ecx + ebx*8 - 8]
mov ebp, dword [0x7adde0]
test ebp, ebp
jne 0x54ee95
mov ebp, dword [esp + 0x78]
mov dword [edx], ebp
jmp 0x54eea4
mov ebp, edi
mov edi, edx
mov eax, dword [esp + 0x78]
call fcn.00462400
mov edi, ebp
lea eax, [0x5c4a60]
mov dword [esp], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x88]
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
call fcn.0040fcf0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x60]
mov dword [edi + 8], eax
mov eax, dword [0x7adde0]
test eax, eax
jne 0x54eef3
mov eax, dword [esp + 0x90]
mov dword [edi], eax
jmp 0x54eeff
mov eax, dword [esp + 0x90]
call fcn.00462400
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x5c]
test edx, edx
jne 0x54f12a
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
jmp 0x54eb17
mov dword [esp], 0
lea eax, [0x5e7d16]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], eax
call fcn.0044d7c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409590
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xb4], ecx
lea ecx, [0x62dc6c]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x9c
ret
mov dword [esp], 0
lea eax, [0x5e7d16]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], eax
call fcn.0044d7c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409590
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xb4], ecx
lea ecx, [0x62dc6c]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x9c
ret
mov eax, dword [esp + 0x98]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], esi
add esp, 0x9c
ret
mov esi, dword [esp + 0x64]
lea ecx, [esi + 1]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x7c]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x54]
cmp ecx, ebx
jge 0x54ec34
mov dword [esp + 0x64], ecx
movzx esi, byte [ebp + ecx]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
sbb edi, edi
lea eax, [esi - 0x60]
mov byte [esp + 0x37], al
cmp al, 0x20
sbb edx, edx
neg eax
cmp al, 0x20
sbb ebp, ebp
mov ecx, esi
mov ebx, 1
shl ebx, cl
and edi, ebx
test edi, 0xfffffdff
sete bl
mov ecx, eax
mov eax, 1
shr eax, cl
and eax, ebp
movzx ecx, byte [esp + 0x37]
mov ebp, 1
shl ebp, cl
and ebp, edx
or eax, ebp
test eax, 0x80000000
sete al
and eax, ebx
test al, al
jne 0x54f032
mov dword [esp], 0
lea eax, [0x5e7d16]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], eax
call fcn.0044d7c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409590
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xb4], ecx
lea ecx, [0x62dc6c]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x9c
ret
mov eax, dword [esp + 0x98]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xbc], eax
add esp, 0x9c
ret
lea eax, [0x5ae5c0]
mov dword [esp], eax
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x5e1218]
mov dword [eax], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xb4], ecx
lea ecx, [0x62d6b8]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x9c
ret
lea eax, [0x5ae5c0]
mov dword [esp], eax
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x5e1218]
mov dword [eax], ecx
mov dword [esp + 0xb4], 0
lea ecx, [0x62d6b8]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x9c
ret
xor eax, eax
mov ecx, eax
call fcn.00462480
nop
call fcn.00460ff0
jmp fcn.0054e940