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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x602dc9
sub esp, 0x50
mov eax, dword [esp + 0x58]
test eax, eax
je 0x6028be
test eax, 0x80000000
jne 0x6028be
mov eax, dword [esp + 0x54]
jmp 0x6028ce
mov eax, dword [esp + 0x54]
movzx ecx, byte [eax + 0x58]
test cl, cl
je 0x602da7
movzx ecx, byte [esp + 0x6a]
test cl, cl
je 0x6028de
mov ecx, 8
jmp 0x6028e0
xor ecx, ecx
movzx edx, byte [esp + 0x68]
test dl, dl
je 0x6028ec
or ecx, 1
movzx edx, byte [esp + 0x69]
test dl, dl
je 0x6028f8
or ecx, 4
mov byte [esp + 0x22], cl
mov eax, dword [esp + 0x6c]
movzx edx, byte [esp + 0x70]
movzx ebx, byte [esp + 0x71]
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], dl
mov byte [esp + 0x45], bl
mov dword [esp + 0x38], 0
mov word [esp + 0x3c], 0
lea eax, [esp + 0x40]
mov dword [esp], eax
lea edx, [esp + 0x38]
mov dword [esp + 4], edx
mov dword [esp + 8], 6
call fcn.004029d0
movzx eax, byte [esp + 0xc]
test al, al
je 0x602951
movzx ecx, byte [esp + 0x22]
jmp 0x602959
movzx ecx, byte [esp + 0x22]
or ecx, 0x20
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov ebp, dword [ebx + 0x54]
mov esi, dword [ebx + 0x4c]
cmp ebp, 9
jb 0x602973
mov eax, 9
jmp 0x6029bd
mov byte [esp + 0x22], cl
mov dword [esp + 0x28], edx
lea eax, [0x654440]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 9
call fcn.0044ba20
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
add eax, 9
movzx ecx, byte [esp + 0x22]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x54]
mov dword [esi], 0x1000000
mov byte [esi + 4], cl
mov ecx, edx
shr edx, 0x18
mov byte [esi + 5], dl
mov edx, ecx
shr ecx, 0x10
mov byte [esi + 6], cl
mov ecx, edx
shr edx, 8
mov byte [esi + 7], dl
mov byte [esi + 8], cl
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], ebp
mov ecx, dword [0xbe5550]
lea edi, [ebx + 0x4c]
test ecx, ecx
jne 0x6029f9
mov dword [ebx + 0x4c], esi
jmp 0x602a04
mov ecx, eax
mov eax, esi
call fcn.00462ce0
mov eax, ecx
mov dword [esp + 0x4c], edi
movzx ecx, byte [esp + 0x6a]
test cl, cl
je 0x602a7c
nop
lea edx, [eax + 1]
cmp ebp, edx
jae 0x602a73
mov byte [esp + 0x23], cl
lea ecx, [0x654440]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.0044ba20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x54]
mov dword [ebx + 0x54], edx
mov edx, dword [0xbe5550]
test edx, edx
jne 0x602a61
mov dword [ebx + 0x4c], eax
mov edi, dword [esp + 0x4c]
jmp 0x602a6a
mov edi, dword [esp + 0x4c]
call fcn.00462ce0
mov esi, eax
mov eax, ecx
movzx ecx, byte [esp + 0x23]
lea edx, [eax + 1]
mov dword [ebx + 0x50], edx
mov byte [esi + eax], cl
mov eax, dword [esp + 0x6c]
movzx ecx, byte [esp + 0x70]
movzx edx, byte [esp + 0x71]
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], cl
mov byte [esp + 0x3d], dl
mov dword [esp + 0x40], 0
mov word [esp + 0x44], 0
lea eax, [esp + 0x38]
mov dword [esp], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp + 8], 6
call fcn.004029d0
movzx eax, byte [esp + 0xc]
test al, al
je 0x602ad3
mov ecx, dword [esp + 0x54]
jmp 0x602c12
mov eax, dword [esp + 0x6c]
test eax, 0x80000000
jne 0x602ae4
mov ecx, dword [esp + 0x54]
jmp 0x602af4
mov ecx, dword [esp + 0x54]
movzx edx, byte [ecx + 0x58]
test dl, dl
je 0x602d8f
movzx edx, byte [esp + 0x70]
test dl, dl
je 0x602b02
or eax, 0x80000000
mov edx, dword [ecx + 0x50]
mov ebx, dword [ecx + 0x4c]
mov ebp, dword [ecx + 0x54]
lea esi, [edx + 4]
cmp ebp, esi
jae 0x602b6f
mov dword [esp + 0x24], eax
lea eax, [0x654440]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.0044ba20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x54]
mov dword [ebx + 0x54], edx
mov edx, dword [0xbe5550]
test edx, edx
jne 0x602b5a
mov dword [ebx + 0x4c], eax
mov edi, dword [esp + 0x4c]
jmp 0x602b63
mov edi, dword [esp + 0x4c]
call fcn.00462ce0
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
lea ebp, [edx + 4]
mov dword [ecx + 0x50], ebp
mov ebp, eax
shr eax, 0x18
mov byte [ebx + edx], al
mov eax, ebp
shr ebp, 0x10
xchg ebp, eax
mov byte [ebx + edx + 1], al
xchg ebp, eax
mov ebp, eax
shr eax, 8
mov byte [ebx + edx + 2], al
xchg ebp, eax
mov byte [ebx + edx + 3], al
xchg ebp, eax
movzx eax, byte [esp + 0x71]
mov edx, dword [ecx + 0x50]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x4c]
mov esi, dword [ecx + 0x54]
cmp esi, ebx
jae 0x602c08
mov byte [esp + 0x21], al
lea eax, [0x654440]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.0044ba20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x54]
mov dword [ebx + 0x54], edx
mov edx, dword [0xbe5550]
test edx, edx
jne 0x602bf4
mov dword [ebx + 0x4c], eax
mov edi, dword [esp + 0x4c]
jmp 0x602bfd
mov edi, dword [esp + 0x4c]
call fcn.00462ce0
mov edx, ecx
mov ebp, eax
movzx eax, byte [esp + 0x21]
mov ecx, ebx
lea ebx, [edx + 1]
mov dword [ecx + 0x50], ebx
mov byte [ebp + edx], al
mov eax, dword [ecx + 0x50]
mov edx, dword [esp + 0x60]
lea ebx, [edx + eax]
mov dword [esp + 0x34], ebx
mov ebp, dword [ecx + 0x54]
mov esi, dword [ecx + 0x4c]
mov edi, dword [esp + 0x5c]
cmp ebp, ebx
jae 0x602c6c
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x2c], edx
lea ecx, [0x654440]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044ba20
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x48], esi
mov dword [esp + 0x30], ebp
add eax, esi
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
call fcn.00463680
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x54]
mov dword [ecx + 0x50], eax
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x54], edx
mov ebx, dword [0xbe5550]
test ebx, ebx
jne 0x602cb5
mov ebx, dword [esp + 0x48]
mov dword [ecx + 0x4c], ebx
mov eax, ebx
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x4c]
jmp 0x602cc4
mov edi, dword [esp + 0x4c]
mov ebx, eax
mov eax, dword [esp + 0x48]
call fcn.00462ce0
mov ebp, dword [0xbbe2d0]
mov esi, dword [0xbbe2c8]
movzx edi, byte [esp + 0x6a]
cmp ebp, edi
jb 0x602dbf
lea ebp, [edi + ebx]
mov dword [esp + 0x2c], ebp
cmp edx, ebp
jae 0x602d26
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], esi
lea ecx, [0x654440]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0044ba20
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov eax, esi
mov edx, ebp
mov esi, dword [esp + 0x48]
mov dword [esp + 0x34], edx
mov dword [esp + 0x48], eax
lea ecx, [eax + ebx]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
call fcn.00463680
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
mov dword [ecx + 0x50], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x54], eax
mov eax, dword [0xbe5550]
test eax, eax
jne 0x602d66
mov eax, dword [esp + 0x48]
mov dword [ecx + 0x4c], eax
jmp 0x602d73
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
call fcn.00462ce0
mov dword [esp], ecx
call fcn.005ffc30
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x50
ret
mov eax, dword [0xbbdf30]
mov ecx, dword [0xbbdf34]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x50
ret
mov eax, dword [0xbbdfc0]
mov ecx, dword [0xbbdfc4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x50
ret
mov ecx, edi
mov edx, ebp
call fcn.00462da0
nop
call fcn.004618d0
jmp fcn.00602890