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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x605a86
add esp, 0xffffff80
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 8], edx
call fcn.006080a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test ecx, ecx
jne 0x605832
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov dword [edx], ecx
mov ebx, dword [0x84c7c0]
test ebx, ebx
jne 0x605517
mov ebx, dword [esp + 0x8c]
mov dword [edx + 4], ebx
jmp 0x605531
lea edi, [edx + 4]
mov ebx, eax
mov eax, dword [esp + 0x8c]
call fcn.0045e710
mov eax, ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x44], eax
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x2c], ebp
mov esi, dword [esp + 0x94]
cmp esi, ebp
mov edi, ebx
sete bl
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x90]
cmp edx, ecx
seta cl
cmp esi, ebp
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebx, ecx
or ebx, ebp
test bl, bl
je 0x60568b
mov ecx, dword [esp + 0x28]
sub edx, ecx
mov ecx, dword [esp + 0x2c]
sbb esi, ecx
mov eax, 0x88888889
mov ebp, edx
mul esi
shr edx, 4
mov dword [esp + 0x2c], edx
imul ebx, edx, 0x1e
sub esi, ebx
mov eax, esi
mov ebx, 0x8888888
mul ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
mov ebx, eax
mov eax, 0x88888889
mul ebp
shr edx, 4
mov eax, edx
add edx, 0
add ebx, edx
imul ecx, eax, 0x1e
sub ebp, ecx
shl esi, 4
lea ecx, [ebp + esi]
mov ebp, eax
mov eax, 0x88888889
mov esi, edx
mul ecx
shr edx, 4
mov ecx, edx
add edx, ebx
add ebp, 0
mov ebp, dword [esp + 0x2c]
adc ebp, 0
mov eax, edx
mov edx, dword [esp + 0x24]
add edx, esi
mov edx, dword [esp + 0x28]
adc edx, ebp
add ecx, ebx
adc edx, 0
mov ecx, dword [esp + 0x44]
mov ebx, dword [ecx + 0x10]
cmp eax, ebx
xchg ebp, ebx
setae bl
xchg ebp, ebx
mov esi, dword [ecx + 0x14]
cmp esi, edx
sete dl
mov eax, ebx
setb bl
and ebp, edx
or ebx, ebp
test bl, bl
jne 0x605622
mov eax, ecx
mov edx, dword [esp + 0x90]
jmp 0x60568b
lea ecx, [0x655920]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
call fcn.00447640
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], edx
mov edx, dword [0x84c7c0]
test edx, edx
jne 0x605673
mov dword [ebx + 8], eax
jmp 0x60567b
lea edi, [ebx + 8]
call fcn.0045e710
mov eax, ecx
mov edx, dword [esp + 0x90]
mov edi, dword [esp + 0x8c]
mov ecx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x30]
mov ebp, dword [esp + 0x84]
mov dword [ebp + 0x18], ebx
mov ebx, dword [0x84c7c0]
test ebx, ebx
jne 0x6056aa
mov dword [ebp + 0x14], ecx
jmp 0x6056b6
lea ebx, [ebp + 0x14]
mov edi, ebx
mov eax, ecx
call fcn.0045e710
nop
lea eax, [0x6474e0]
mov dword [esp], eax
call fcn.0040b620
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x88]
mov dword [eax], ecx
mov edx, dword [0x84c7c0]
test edx, edx
jne 0x6056e8
mov edx, dword [esp + 0x8c]
mov dword [eax + 4], edx
jmp 0x605702
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0x8c]
call fcn.0045e710
mov eax, edx
mov edx, dword [esp + 0x8c]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov ebx, dword [esp + 0x94]
mov dword [eax + 0x1c], ebx
mov ebx, dword [esp + 0x90]
mov dword [eax + 0x18], ebx
mov ebx, dword [esp + 0x44]
mov ebp, dword [ebx + 0x24]
mov esi, dword [ebx + 0x20]
test ebp, ebp
jge 0x60574e
mov ebp, dword [0x825118]
mov esi, dword [0x82511c]
jmp 0x605758
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], ebp
xor ebp, ebp
xor esi, esi
test ebp, ebp
jne 0x605820
mov dword [esp + 0x30], eax
nop
nop
lea eax, [0x64ec80]
mov dword [esp], eax
call fcn.0040b620
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
lea ecx, [0x62f440]
mov dword [esp], ecx
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call fcn.00447580
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
lea edi, [esp + 0x54]
xor eax, eax
call fcn.0045e9b5
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x1000
mov dword [esp + 0x5c], 0x1000
lea eax, [0x6c33e8]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x64], eax
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], 0xffffffff
mov eax, dword [0x84c7c0]
test eax, eax
jne 0x605800
mov edi, dword [esp + 0x34]
lea esi, [esp + 0x54]
call fcn.0045ee62
jmp 0x605844
lea eax, [0x64ec80]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
lea ecx, [esp + 0x54]
mov dword [esp + 8], ecx
call fcn.00410c20
jmp 0x605844
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], esi
sub esp, 0xffffff80
ret
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ebx
sub esp, 0xffffff80
ret
lea eax, [0x64cd40]
mov dword [esp], eax
call fcn.0040b620
mov eax, dword [esp + 4]
mov ecx, dword [0x84c7c0]
test ecx, ecx
jne 0x60586c
mov ecx, dword [esp + 0x84]
mov dword [eax + 0x60], ecx
jmp 0x605886
lea edi, [eax + 0x60]
mov ecx, eax
mov eax, dword [esp + 0x84]
call fcn.0045e710
mov eax, ecx
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [eax + 0x64], edx
mov ebx, dword [0x84c7c0]
test ebx, ebx
jne 0x6058a6
mov ebx, dword [esp + 0x8c]
mov dword [eax + 0x68], ebx
jmp 0x6058b9
lea edi, [eax + 0x68]
mov ebx, eax
mov eax, dword [esp + 0x8c]
call fcn.0045e710
mov eax, ebx
mov dword [esp + 0x38], eax
mov dword [esp], eax
lea ecx, [0x6c31a4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
call fcn.006064b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [0x824ebc]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x4c], ebp
mov esi, dword [esp + 0x10]
mov dword [esp + 0x3c], esi
cmp dword [0x824eb8], eax
je 0x605909
xor edx, edx
jmp 0x60593c
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00403610
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x3c]
mov edx, eax
mov eax, dword [esp + 0x48]
test dl, dl
je 0x605947
mov eax, 1
jmp 0x60597a
mov edx, dword [0x82510c]
cmp dword [0x825108], eax
je 0x605959
xor eax, eax
jmp 0x60597a
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00403610
movzx eax, byte [esp + 0xc]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x3c]
test al, al
jne 0x605a44
test ebx, ebx
jne 0x605a32
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00605df0
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0xc]
lea edx, [ecx + 1]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0x10]
cmp ebp, edx
jae 0x605a01
lea eax, [0x655920]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.00447700
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x10], edx
mov edx, dword [0x84c7c0]
test edx, edx
jne 0x6059f0
mov dword [ebx + 8], eax
jmp 0x6059f8
lea edi, [ebx + 8]
call fcn.0045e710
mov ebx, eax
mov eax, dword [esp + 0x84]
lea edx, [ecx + 1]
mov dword [eax + 0xc], edx
mov edx, dword [0x84c7c0]
lea edi, [ebx + ecx*4]
test edx, edx
jne 0x605a20
mov edx, dword [esp + 0x38]
mov dword [ebx + ecx*4], edx
jmp 0x605844
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.0045e710
mov eax, ecx
jmp 0x605844
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], esi
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + 0x10]
cmp ax, cx
je 0x605a6c
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], esi
sub esp, 0xffffff80
ret
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
sub esp, 0xffffff80
ret
call fcn.0045d2d0
jmp fcn.00605490