Function at 0x605400
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 0x605cb6
sub esp, 0x9c
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.00605dc0
mov eax, dword [esp + 4]
test eax, eax
jle 0x60546b
cmp eax, 0x3e8
jle 0x605443
mov eax, 0x3e8
mov dword [esp + 0x58], eax
lea ecx, [0x6871e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044aea0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x58]
mov edx, eax
mov eax, ecx
jmp 0x60546f
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x80], edx
lea ebx, [0x6ab980]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.0040c860
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.006022a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test eax, eax
jne 0x6055b4
test ecx, ecx
jbe 0x605cac
movzx eax, byte [edx]
cmp al, 0x20
je 0x605503
cmp al, 9
jne 0x6055b4
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.006046f0
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 0x60554d
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, [0x6ccb2e]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x24
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044e980
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409640
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xb4], ecx
lea ecx, [0x727988]
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 0x6055e5
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, [0x6db01c]
mov dword [esp + 4], edi
call fcn.00604910
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 0x605acf
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 [0x8ad528]
mov ebp, dword [0x8ad52c]
mov esi, dword [0x8ad530]
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.004d9290
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 0x605a5d
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.006060e0
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x10]
test cl, cl
je 0x6059eb
mov dword [esp + 0x88], eax
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x7c]
xor ecx, ecx
jmp 0x605b0c
test edx, edx
jne 0x605718
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 0x6055d7
mov ecx, dword [esp + 0x74]
add ecx, 0xffffffff
mov esi, dword [esp + 0x68]
adc esi, 0xffffffff
test esi, esi
jl 0x605c65
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, [0x6bf728]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.004d87e0
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.0044ec30
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x78], ecx
lea edx, [0x6ab980]
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.00410250
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
test ecx, ecx
je 0x6057d2
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
jmp 0x6057f2
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 0x605c1b
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], esi
test ecx, ecx
je 0x605822
mov ebp, dword [esp + 0x4c]
jmp 0x6058dc
mov ebp, dword [esp + 0x4c]
test ebp, ebp
je 0x6058dc
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 [0x8d9190]
test ebx, ebx
jne 0x605862
mov ebx, dword [esp + 0x78]
mov dword [ecx], ebx
jmp 0x605871
mov ebx, edi
mov edi, ecx
mov eax, dword [esp + 0x78]
call fcn.004643a0
mov edi, ebx
lea eax, [0x6ab980]
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.004108e0
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov eax, dword [0x8d9190]
test eax, eax
jne 0x6058c0
mov eax, dword [esp + 0x80]
mov dword [edi], eax
jmp 0x6058cc
mov eax, dword [esp + 0x80]
call fcn.004643a0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x90]
jmp 0x6059ca
lea ebx, [eax + 1]
mov eax, esi
mov esi, dword [esp + 0x38]
cmp esi, ebx
jae 0x605929
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x6871e0]
mov dword [esp + 0x10], eax
call fcn.0044af60
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 [0x8d9190]
test ebp, ebp
jne 0x605955
mov ebp, dword [esp + 0x78]
mov dword [edx], ebp
jmp 0x605964
mov ebp, edi
mov edi, edx
mov eax, dword [esp + 0x78]
call fcn.004643a0
mov edi, ebp
lea eax, [0x6ab980]
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.004108e0
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 [0x8d9190]
test eax, eax
jne 0x6059b3
mov eax, dword [esp + 0x90]
mov dword [edi], eax
jmp 0x6059bf
mov eax, dword [esp + 0x90]
call fcn.004643a0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x5c]
test edx, edx
jne 0x605bea
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
jmp 0x6055d7
mov dword [esp], 0
lea eax, [0x6c90a9]
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.0044e980
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409640
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xb4], ecx
lea ecx, [0x727988]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x9c
ret
mov dword [esp], 0
lea eax, [0x6c90a9]
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.0044e980
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409640
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xb4], ecx
lea ecx, [0x727988]
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 0x6056f4
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 0x605af2
mov dword [esp], 0
lea eax, [0x6c90a9]
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.0044e980
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409640
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xb4], ecx
lea ecx, [0x727988]
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, [0x690d00]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x6c3a2e]
mov dword [eax], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xb4], ecx
lea ecx, [0x727230]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x9c
ret
lea eax, [0x690d00]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x6c3a2e]
mov dword [eax], ecx
mov dword [esp + 0xb4], 0
lea ecx, [0x727230]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x9c
ret
xor eax, eax
mov ecx, eax
call fcn.00464420
nop
call fcn.00462f90
jmp fcn.00605400