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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x44]
cmp eax, dword [ecx + 8]
jbe 0x4cb074
sub esp, 0xc4
mov eax, dword [esp + 0xe0]
test eax, eax
jne 0x4ca712
mov eax, dword [0x5e9dc8]
mov ecx, dword [0x5e9dcc]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edx, [0x500f00]
mov dword [esp], edx
call fcn.0040d2f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x40]
mov dword [edi + 4], eax
mov eax, dword [0x60ffa0]
test eax, eax
jne 0x4ca694
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
jmp 0x4ca6a0
mov eax, dword [esp + 0x88]
call fcn.00468980
mov dword [edi + 0xc], 0
mov ecx, dword [0x60ffa0]
test ecx, ecx
jne 0x4ca6bd
mov eax, dword [esp + 0xdc]
mov dword [edi + 8], eax
jmp 0x4ca6d2
lea ecx, [edi + 8]
mov eax, dword [esp + 0xdc]
mov edx, edi
mov edi, ecx
call fcn.00468980
mov edi, edx
mov byte [edi + 0x1a], 1
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
lea eax, [0x51f8a0]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], edi
add esp, 0xc4
ret
mov ecx, dword [esp + 0xdc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c7400
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test eax, eax
je 0x4ca7f6
mov dword [esp + 0x64], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x4c], ebx
lea eax, [0x4f1560]
mov dword [esp], eax
call fcn.0040d2f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 8], eax
mov eax, dword [0x60ffa0]
test eax, eax
jne 0x4ca787
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
jmp 0x4ca790
mov eax, dword [esp + 0x64]
call fcn.00468980
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x60ffa0]
test ecx, ecx
jne 0x4ca7aa
mov eax, dword [esp + 0x4c]
mov dword [edi + 0xc], eax
jmp 0x4ca7bc
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x4c]
mov edx, edi
mov edi, ecx
call fcn.00468980
mov edi, edx
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], 1
mov dword [esp + 0xec], 1
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
add esp, 0xc4
ret
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0xd0]
mov dword [esp], edx
lea ebx, [0x4f4760]
mov dword [esp + 4], ebx
lea ebx, [0x60fe08]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0x10]
lea ecx, [0x4eca60]
cmp dword [esp + 0xc], ecx
je 0x4ca832
xor eax, eax
mov dword [esp + 0x50], eax
test eax, eax
je 0x4ca859
mov edx, dword [eax]
test edx, edx
je 0x4ca859
mov eax, dword [edx]
mov ecx, dword [esp + 0xdc]
mov dword [esp], ecx
mov ebx, dword [esp + 0xe0]
mov dword [esp + 4], ebx
call eax
lea eax, [0x4f5f20]
mov dword [esp], eax
call fcn.0040d2f0
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
lea ecx, [0x4d65d0]
mov dword [eax], ecx
mov ecx, dword [0x60ffa0]
test ecx, ecx
jne 0x4ca890
mov ecx, dword [esp + 0xc8]
mov dword [eax + 4], ecx
jmp 0x4ca89f
lea edi, [eax + 4]
mov eax, dword [esp + 0xc8]
call fcn.00468980
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0xd0]
mov dword [esp], edx
lea ebx, [0x4f4720]
mov dword [esp + 4], ebx
lea ebx, [0x60fe08]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0x10]
lea ecx, [0x4f3e60]
cmp dword [esp + 0xc], ecx
je 0x4ca8db
xor eax, eax
test eax, eax
jne 0x4ca8e6
mov eax, dword [esp + 0x84]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xcc]
mov dword [esp], ecx
mov edx, dword [esp + 0xd0]
mov dword [esp + 4], edx
call fcn.004ca560
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004b0c10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x88], edx
mov dword [esp], 0
mov ebx, dword [esp + 0xd4]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0xd8]
mov dword [esp + 8], ebp
lea esi, [0x51f494]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0xdc]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0xe0]
mov dword [esp + 0x18], edi
call fcn.00453680
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
lea edx, [0x60ff50]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00470e50
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
call fcn.004ca490
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
lea ecx, [0x4fd920]
mov dword [esp], ecx
call fcn.0040d2f0
mov eax, dword [esp + 4]
lea ecx, [0x4cb120]
mov dword [eax], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 4], ecx
mov ecx, dword [0x60ffa0]
test ecx, ecx
jne 0x4ca9fb
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
jmp 0x4caa17
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.00468980
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x54]
call fcn.00468980
mov eax, ecx
mov ecx, dword [esp + 0xd8]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x60ffa0]
test ecx, ecx
jne 0x4caa37
mov ecx, dword [esp + 0xd4]
mov dword [eax + 0x10], ecx
jmp 0x4caa4a
lea edi, [eax + 0x10]
mov ecx, eax
mov eax, dword [esp + 0xd4]
call fcn.00468980
mov eax, ecx
mov ecx, dword [esp + 0xe0]
mov dword [eax + 0x1c], ecx
mov edx, dword [0x60ffa0]
test edx, edx
jne 0x4caa6a
mov edx, dword [esp + 0xdc]
mov dword [eax + 0x18], edx
jmp 0x4caa7d
lea edi, [eax + 0x18]
mov edx, eax
mov eax, dword [esp + 0xdc]
call fcn.00468980
mov eax, edx
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.004b8480
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx + 0x14]
mov ebx, dword [esp + 0xd0]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
lea edi, [esp + 0xb0]
xor eax, eax
call fcn.00468b5b
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x8c], eax
lea ecx, [esp + 0xb0]
mov dword [esp + 0x90], ecx
lea edx, [esp + 0x8c]
mov dword [esp], edx
lea edx, [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call fcn.0044c9e0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4cadec
lea edi, [esp + 0x9c]
lea esi, [esp + 0xb0]
call fcn.0046903e
lea eax, [0x60ff50]
mov dword [esp], eax
call fcn.00470fa0
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
test eax, eax
je 0x4cace1
lea edx, [0x51f8a0]
cmp eax, edx
jne 0x4cabb8
mov edx, dword [esp + 0x50]
test edx, edx
jmp 0x4cace7
mov dword [esp + 0x3c], eax
mov dword [esp + 0x68], ecx
mov edx, dword [0x5e585c]
cmp dword [0x5e5858], eax
jne 0x4cabf6
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00404230
movzx eax, byte [esp + 0xc]
test al, al
je 0x4cabee
mov eax, 1
jmp 0x4cac29
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x68]
lea edx, [0x4f5e60]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0040a840
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x4cac1c
xor eax, eax
jmp 0x4cac29
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 4]
mov byte [esp + 0x2b], al
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x10]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edx, [0x500f00]
mov dword [esp], edx
call fcn.0040d2f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x40]
mov dword [edi + 4], eax
mov eax, dword [0x60ffa0]
test eax, eax
jne 0x4cac7e
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
jmp 0x4cac8a
mov eax, dword [esp + 0x88]
call fcn.00468980
mov ecx, dword [esp + 0xe0]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x60ffa0]
test ecx, ecx
jne 0x4cacb0
mov eax, dword [esp + 0xdc]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x50]
test eax, eax
jmp 0x4caccd
lea ecx, [edi + 8]
mov eax, dword [esp + 0xdc]
mov edx, edi
mov edi, ecx
call fcn.00468980
mov ecx, dword [esp + 0x50]
test ecx, ecx
mov eax, ecx
mov edi, edx
movzx edx, byte [esp + 0x2b]
mov byte [edi + 0x18], dl
mov edx, eax
lea eax, [0x51f8a0]
mov ecx, edi
jmp 0x4cace7
mov edx, dword [esp + 0x50]
test edx, edx
je 0x4cad7e
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x4cad7e
mov dword [esp + 0x3c], eax
mov dword [esp + 0x68], ecx
mov ebx, dword [esp + 0xa0]
lea ebp, [0x4ef640]
cmp dword [esp + 0x9c], ebp
jne 0x4cad20
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov ebx, dword [ebx + 8]
jmp 0x4cad26
xor ebx, ebx
xor esi, esi
xor ebp, ebp
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call fcn.004cb2c0
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 4]
mov eax, dword [edx]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
movzx esi, byte [esp + 0xac]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
xchg esi, eax
mov byte [esp + 0xc], al
xchg esi, eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x14], ebx
call eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
movzx ebp, byte [esp + 0xac]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
xchg ebp, eax
mov byte [esp + 0x10], al
xchg ebp, eax
call fcn.004cb1e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], ebp
add esp, 0xc4
ret
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
call fcn.004ca490
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
call fcn.004b8940
movzx eax, byte [esp + 0xc]
test al, al
je 0x4cae81
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
call eax
lea eax, [0x4fac80]
mov dword [esp], eax
call fcn.0040d2f0
mov eax, dword [esp + 4]
lea ecx, [0x4cb0d0]
mov dword [eax], ecx
lea ecx, [0x517a6c]
mov dword [eax + 4], ecx
mov ecx, dword [0x60ffa0]
test ecx, ecx
jne 0x4cae5e
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
jmp 0x4cae6e
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x74]
call fcn.00468980
mov eax, ecx
lea ecx, [0x517a70]
mov dword [eax + 0xc], ecx
mov dword [esp], eax
call fcn.00445f50
jmp 0x4caee2
lea eax, [0x4face0]
mov dword [esp], eax
call fcn.0040d2f0
mov eax, dword [esp + 4]
lea ecx, [0x4cb080]
mov dword [eax], ecx
lea ecx, [0x517a6c]
mov dword [eax + 4], ecx
mov ecx, dword [0x60ffa0]
test ecx, ecx
jne 0x4caebe
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
jmp 0x4caeda
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x74]
call fcn.00468980
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x60]
call fcn.00468980
mov eax, ecx
mov dword [esp], eax
call fcn.00445f50
mov eax, dword [esp + 0xcc]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0xd0]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x78], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004cd7b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edx, [0x500f00]
mov dword [esp], edx
call fcn.0040d2f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x40]
mov dword [edi + 4], eax
mov eax, dword [0x60ffa0]
test eax, eax
jne 0x4caf6d
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
jmp 0x4caf79
mov eax, dword [esp + 0x88]
call fcn.00468980
mov ecx, dword [esp + 0xe0]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x60ffa0]
test ecx, ecx
jne 0x4caf99
mov eax, dword [esp + 0xdc]
mov dword [edi + 8], eax
jmp 0x4cafae
lea ecx, [edi + 8]
mov eax, dword [esp + 0xdc]
mov edx, edi
mov edi, ecx
call fcn.00468980
mov edi, edx
mov dword [esp + 0x6c], edi
mov eax, dword [0x5e585c]
mov ecx, dword [esp + 0x78]
cmp dword [0x5e5858], ecx
je 0x4cafd1
mov eax, dword [esp + 0x50]
test eax, eax
mov ecx, 0
jmp 0x4caffa
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00404230
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x50]
test ecx, ecx
mov edi, dword [esp + 0x6c]
mov edx, eax
mov eax, ecx
mov ecx, edx
mov byte [edi + 0x18], cl
je 0x4cb038
mov edx, dword [eax + 4]
test edx, edx
je 0x4cb038
mov eax, dword [edx]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov byte [esp + 0xc], 0
lea ecx, [0x51f8a0]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
call eax
mov edi, dword [esp + 0x6c]
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
lea eax, [0x51f8a0]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], edi
add esp, 0xc4
ret
call fcn.00467570
jmp fcn.004ca610