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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x60437d
sub esp, 0xb8
nop
mov eax, dword [esp + 0xcc]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x3c], eax
cmp eax, 0x14
ja 0x6041b9
lea edx, [eax - 0x12]
cmp edx, 1
ja 0x60419a
test ecx, 0x200
jne 0x603e99
test ecx, 0x80
je 0x60418c
mov eax, dword [esp + 0xc8]
mov edx, dword [eax]
test edx, edx
setne dl
xor edx, 1
test dl, dl
je 0x603e99
mov eax, dword [esp + 0xc0]
test byte [eax], al
mov dword [esp], eax
lea eax, [0x66ecfc]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.004b2fa0
add esp, 0xb8
ret
mov eax, dword [esp + 0xc0]
test byte [eax], al
mov dword [esp], eax
mov byte [esp + 4], 0x7b
call fcn.004b33f0
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov ecx, dword [esp + 0xc8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xcc]
mov dword [esp + 8], edx
call fcn.0047e680
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x40], ecx
lea edx, [0x644ea0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00442930
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
jg 0x6040e5
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00408c90
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea ecx, [0x60b530]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
lea ebx, [0x629ac0]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
call fcn.00486690
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x6040b1
xor ecx, ecx
mov edx, dword [esp + 0x64]
jmp 0x603f9b
mov ebx, dword [esp + 0x60]
lea edx, [ebx + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], edx
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0xa4]
mov esi, edx
call fcn.0045b46e
lea edi, [esp + 0x90]
lea esi, [esp + 0xa4]
call fcn.0045b46e
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jg 0x6040cc
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
movzx ecx, byte [esp + 0xd1]
mov byte [esp + 0xc], cl
call fcn.00605700
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov byte [esp + 4], 0x3a
call fcn.004b33f0
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov ecx, dword [esp + 0xc8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xcc]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x98]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.0047e490
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xc0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
movzx eax, byte [esp + 0xd0]
mov byte [esp + 0x10], al
movzx ecx, byte [esp + 0xd1]
mov byte [esp + 0x11], cl
mov edx, dword [esp + 0xbc]
mov ebp, dword [edx]
call ebp
mov eax, dword [esp + 0x2c]
inc eax
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jg 0x603f8e
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov byte [esp + 4], 0x7d
call fcn.004b33f0
add esp, 0xb8
ret
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov byte [esp + 4], 0x2c
call fcn.004b33f0
jmp 0x603fd0
xor edx, edx
mov ebx, dword [esp + 0x40]
jmp 0x6040f8
mov ebp, dword [esp + 0x5c]
lea ebx, [ebp + 0xc]
mov eax, dword [esp + 0x64]
mov ebp, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov edi, ebx
mov ebx, dword [ebx]
cmp edx, ecx
jae 0x60433b
mov dword [esp + 0x5c], edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
lea ecx, [edx + edx*4]
mov dword [eax + ecx*4 + 8], esi
lea esi, [eax + ecx*4]
mov dword [esp + 0x60], esi
mov edx, dword [0x8326a0]
lea esi, [eax + ecx*4]
mov dword [esp + 0x50], esi
lea esi, [eax + ecx*4 + 4]
test edx, edx
jne 0x604176
mov dword [eax + ecx*4], ebx
mov dword [eax + ecx*4 + 4], ebp
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.00605420
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x6041d5
mov edx, dword [esp + 0x28]
inc edx
mov ecx, dword [esp + 0x24]
cmp edx, ecx
jl 0x6040ed
mov eax, dword [esp + 0x64]
jmp 0x603f0e
mov edi, dword [esp + 0x50]
mov eax, ebx
call fcn.0045ace0
mov edi, esi
mov eax, ebp
call fcn.0045ace0
jmp 0x604148
mov eax, dword [esp + 0xc8]
mov edx, eax
jmp 0x603e63
cmp eax, 0x14
jne 0x604342
mov eax, dword [esp + 0xc8]
mov ebx, dword [eax]
test ebx, ebx
setne dl
xor edx, 1
jmp 0x603e6b
cmp eax, 0x16
jbe 0x603e46
cmp eax, 0x17
je 0x6041a3
cmp eax, 0x1a
je 0x603e46
jmp 0x604342
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.0047fa40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x80]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x30]
mov edx, dword [edx + 0x10]
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
call fcn.00408c10
mov eax, dword [esp + 8]
lea ecx, [0x633ac0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00408c10
mov eax, dword [esp + 8]
lea ecx, [0x633ac0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [0x67c7d5]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a95f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
lea eax, [0x647760]
mov dword [esp], eax
lea eax, [esp + 0x68]
mov dword [esp + 4], eax
call fcn.00408a20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00430630
mov eax, edx
call fcn.0045ad60
lea eax, [0x645c80]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x6749e1]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
lea ecx, [0x63a580]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00430630
nop
call fcn.00459790
jmp fcn.00603e00