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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x604e4d
sub esp, 0x68
lea eax, [0x668a40]
mov dword [esp], eax
call fcn.0040b830
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx + 0x10]
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call ecx
lea edi, [esp + 0x2c]
lea esi, [esp + 4]
call fcn.00463482
lea edi, [esp]
lea esi, [esp + 0x2c]
call fcn.00463482
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
call fcn.005ff760
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x604da1
mov edx, dword [eax + 8]
cmp edx, 0x715e0375
ja 0x604b62
cmp edx, 0x1d5a2380
jne 0x6049da
mov edx, dword [esp + 0x6c]
lea ebx, [0xa55600]
cmp edx, ebx
jne 0x604d9b
nop
mov eax, dword [esp + 0x70]
movzx ecx, byte [eax]
test cl, cl
je 0x604e34
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x14]
cmp ecx, 0x100
jle 0x6048d4
mov ecx, 0x100
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00409290
mov eax, dword [esp + 0xc]
lea ecx, [0x64c780]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [0xa54980]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
lea edx, [0x6878f6]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 8
lea edx, [esp + 0x3c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004bea40
nop
mov eax, dword [esp + 0x70]
movzx ecx, byte [eax]
test cl, cl
je 0x604e1c
mov edx, dword [eax + 0x10]
cmp edx, 0x100
jle 0x6049d1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea eax, [edx - 0x100]
mov dword [esp], eax
call fcn.00409100
mov eax, dword [esp + 4]
lea ecx, [0x653980]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [0xa54980]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
lea ecx, [0x68b324]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x13
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004bea40
mov eax, dword [esp + 0x38]
jmp 0x604da5
cmp edx, 0x1f75099f
jne 0x604ab8
mov edx, dword [esp + 0x6c]
lea ebx, [0xa556d8]
cmp edx, ebx
jne 0x604d9b
mov dword [esp + 0x28], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea eax, [0x604e60]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 4], ecx
call fcn.006014d0
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x604aaf
mov ebx, dword [esp + 0x38]
mov ebp, dword [ebx + 4]
sub ebp, dword [ebx + 0xc]
cmp ebp, 1
jne 0x604a77
nop
mov dword [ebx + 4], 0
mov dword [ebx + 0xc], 0
mov byte [ebx + 0x10], 0
mov eax, ebx
jmp 0x604da5
mov byte [ebx + 0x10], 0
lea esi, [ebp - 1]
test esi, esi
jl 0x604e04
mov edx, dword [ebx + 8]
mov edi, dword [ebx + 4]
mov eax, ebx
mov ebx, dword [ebx + 0xc]
sub edi, ebx
cmp edi, esi
jl 0x604e04
lea ecx, [ebp + ebx - 1]
cmp edx, ecx
jb 0x604dff
mov dword [eax + 4], ecx
jmp 0x604da5
mov eax, dword [esp + 0x38]
jmp 0x604da5
cmp edx, 0x715e0375
jne 0x604d9b
mov edx, dword [esp + 0x6c]
lea ebx, [0xa55678]
cmp edx, ebx
jne 0x604d9b
mov eax, dword [esp + 0x70]
test byte [eax], al
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
add eax, 0xc
mov dword [esp], eax
mov dword [esp + 4], 8
mov dword [esp + 8], 8
call fcn.00409290
mov eax, dword [esp + 0xc]
lea ecx, [0x64c780]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [0xa54980]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
lea ecx, [0x68794e]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 8
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004bea40
mov eax, dword [esp + 0x38]
jmp 0x604da5
cmp edx, 0x94c3d77d
jne 0x604c45
mov edx, dword [esp + 0x6c]
lea ebx, [0xa55618]
cmp edx, ebx
jne 0x604d9b
lea edi, [esp + 0x50]
xor eax, eax
call fcn.00462f8a
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0xc]
mov dword [esp], edx
call fcn.00409100
mov ecx, dword [esp + 4]
lea edx, [0x6543c0]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x10]
mov dword [esp], edx
call fcn.00409100
mov ecx, dword [esp + 4]
lea edx, [0x65e400]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00409290
mov ecx, dword [esp + 0xc]
lea edx, [0x64c780]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
lea ecx, [0xa54980]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
lea edx, [0x692e48]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x24
lea edx, [esp + 0x50]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 3
call fcn.004bea40
mov eax, dword [esp + 0x38]
jmp 0x604da5
cmp edx, 0xd7c8cbd8
jne 0x604cdd
mov edx, dword [esp + 0x6c]
lea ebx, [0xa556c0]
cmp edx, ebx
jne 0x604d9b
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call fcn.00409100
mov eax, dword [esp + 4]
lea ecx, [0x65e400]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [0xa54980]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
lea ecx, [0x688649]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xb
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004bea40
mov eax, dword [esp + 0x38]
jmp 0x604da5
cmp edx, 0xde935acc
jne 0x604d9b
mov edx, dword [esp + 0x6c]
lea ebx, [0xa55708]
cmp edx, ebx
jne 0x604d9b
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x604d28
mov eax, dword [esp + 0x38]
mov dword [esp], eax
lea ecx, [0x687552]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
call fcn.00473100
mov eax, dword [esp + 0x70]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call fcn.00409100
mov eax, dword [esp + 4]
lea ecx, [0x6543c0]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [0xa54980]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
lea ecx, [0x687906]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 8
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004bea40
mov eax, dword [esp + 0x38]
jmp 0x604da5
mov eax, dword [esp + 0x38]
jmp 0x604da5
mov eax, dword [esp + 0x38]
test eax, eax
je 0x604de3
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
cmp eax, ecx
ja 0x604dfa
mov dword [esp], 0
sub ebx, eax
neg ebx
sar ebx, 0x1f
and ebx, eax
add edx, ebx
mov dword [esp + 4], edx
sub ecx, eax
mov dword [esp + 8], ecx
call fcn.0044f3f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x604dee
mov ecx, 5
lea eax, [0x6870e5]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
call fcn.00462dc0
call fcn.00462da0
lea eax, [0x654240]
mov dword [esp], eax
lea eax, [0xa5411c]
mov dword [esp + 4], eax
call fcn.00437060
lea eax, [0x654240]
mov dword [esp], eax
lea eax, [0xa5445c]
mov dword [esp + 4], eax
call fcn.00437060
lea eax, [0x654240]
mov dword [esp], eax
lea eax, [0xa5445c]
mov dword [esp + 4], eax
call fcn.00437060
nop
call fcn.004618d0
jmp fcn.00604810