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

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0xac], ebp
je 0x4ca0ef
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 0xc
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov ebx, ecx
and ebx, 0xffff
cmp eax, ebp
jne 0x4ca19b
lea eax, [esi + 0x14]
push eax
call fcn.0055efac
mov eax, dword [esi + 0x34]
cmp eax, ebp
je 0x4ca11d
mov eax, dword [eax]
cmp eax, ebp
jne 0x4ca117
mov ecx, dword [esi + 0x44]
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x38], ebp
mov dword [esi + 0x34], ebp
call fcn.00550e54
mov dword [esi + 0x44], ebp
mov eax, dword [esi + 0x50]
cmp eax, ebp
je 0x4ca141
mov eax, dword [eax]
cmp eax, ebp
jne 0x4ca13b
mov ecx, dword [esi + 0x60]
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x54], ebp
mov dword [esi + 0x50], ebp
call fcn.00550e54
mov dword [esi + 0x60], ebp
mov edi, dword [esi + 0x6c]
cmp edi, ebp
je 0x4ca17c
mov eax, dword [esi + 0x70]
cmp eax, ebp
jbe 0x4ca17c
mov ecx, edi
mov edx, eax
mov eax, dword [ecx]
cmp eax, ebp
je 0x4ca176
mov eax, dword [eax]
cmp eax, ebp
jne 0x4ca170
add ecx, 4
dec edx
jne 0x4ca16a
push edi
call fcn.00557799
mov ecx, dword [esi + 0x7c]
add esp, 4
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x74], ebp
mov dword [esi + 0x78], ebp
call fcn.00550e54
mov dword [esi + 0x7c], ebp
jmp 0x4ca1b7
mov eax, dword [esi + 0x34]
cmp eax, ebp
je 0x4ca1b7
cmp dword [eax + 8], ecx
je 0x4ca1af
mov eax, dword [eax]
cmp eax, ebp
jne 0x4ca1a2
jmp 0x4ca1b7
cmp eax, ebp
jne 0x4ca3e7
cmp dword [esp + 0x34], ebp
jne 0x4ca1c9
call fcn.0057dd7d
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0xc8]
mov eax, 0x2000
cmp ecx, ebp
je 0x4ca1ed
cmp dword [0x603890], ebp
jne 0x4ca1ed
cmp dword [0x60388c], ebp
jne 0x4ca1ed
mov eax, 0x3000
mov edx, dword [esp + 0x34]
push eax
push ebp
push ebp
push ebp
push ebx
push edx
call dword [0x5e9414]
cmp eax, ebp
mov dword [esp + 0x10], eax
jne 0x4ca211
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0x14]
push ecx
push 0x18
push eax
call dword [0x5e95b0]
test eax, eax
jne 0x4ca23a
mov edx, dword [esp + 0x10]
push edx
call dword [0x5e9540]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x26]
cmp ax, 0x20
jb 0x4ca252
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.004cd7e0
jmp 0x4ca282
cmp ax, 8
jbe 0x4ca260
cmp dword [esi + 0xc8], ebp
jne 0x4ca270
cmp dword [0x603890], ebp
jne 0x4ca270
cmp dword [0x60388c], ebp
je 0x4ca282
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
push ebp
push ecx
call fcn.004cd040
add esp, 0x10
mov eax, dword [esp + 0x26]
mov ecx, dword [esi + 0xb8]
and eax, 0xffff
cmp ecx, eax
jle 0x4ca297
mov eax, ecx
mov dword [esi + 0xb8], eax
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x4ca3c3
mov eax, dword [esp + 0x30]
mov ebx, dword [esi + 0x2c]
lea edx, [esp + 0x38]
lea edi, [esi + 0x68]
push edx
push eax
mov ecx, edi
call fcn.0057d3d0
cmp eax, ebp
jne 0x4ca301
cmp dword [edi + 4], ebp
jne 0x4ca2d6
mov ecx, dword [edi + 8]
push 1
push ecx
mov ecx, edi
call fcn.0057d410
mov ecx, edi
call fcn.0057d480
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x38]
mov edx, dword [edx + ecx*4]
mov dword [eax], edx
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x38]
mov dword [ecx + edx*4], eax
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x10]
push ebp
push eax
mov ecx, esi
call fcn.004cb6f0
mov ecx, dword [esi + 0x38]
lea edi, [esi + 0x30]
push ebp
push ecx
mov ecx, edi
call fcn.004e2230
mov edx, dword [esp + 0x30]
mov dword [eax + 8], edx
mov ecx, dword [edi + 8]
cmp ecx, ebp
je 0x4ca332
mov dword [ecx], eax
jmp 0x4ca335
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [esi + 0x5c]
mov ebx, dword [esi + 0x54]
cmp eax, ebp
jne 0x4ca372
mov eax, dword [esi + 0x64]
push 0xc
lea ecx, [esi + 0x60]
push eax
push ecx
call fcn.00550e34
mov ecx, dword [esi + 0x64]
add eax, 4
lea edx, [ecx + ecx*2]
dec ecx
cmp ecx, ebp
lea eax, [eax + edx*4 - 0xc]
jl 0x4ca372
inc ecx
mov edx, dword [esi + 0x5c]
mov dword [eax], edx
mov dword [esi + 0x5c], eax
sub eax, 0xc
dec ecx
jne 0x4ca364
mov edi, dword [esi + 0x5c]
push 1
mov eax, dword [edi]
mov dword [esi + 0x5c], eax
mov dword [edi + 4], ebx
mov dword [edi], ebp
mov ecx, dword [esi + 0x58]
lea ebx, [edi + 8]
inc ecx
push ebx
mov dword [esi + 0x58], ecx
call fcn.00507640
mov ecx, dword [esp + 0x34]
mov dword [ebx], ecx
mov eax, dword [esi + 0x54]
cmp eax, ebp
je 0x4ca3b0
mov dword [eax], edi
mov edx, dword [esp + 0x10]
push edx
mov dword [esi + 0x54], edi
call dword [0x5e9540]
jmp 0x4ca3ca
mov edx, dword [esp + 0x10]
mov dword [esi + 0x50], edi
push edx
mov dword [esi + 0x54], edi
call dword [0x5e9540]
jmp 0x4ca3ca
mov eax, dword [esp + 0x10]
mov dword [esi + 0x14], eax
mov ecx, esi
call fcn.004cb6b0
lea edi, [esi + 0x18]
push edi
call fcn.0055efac
add esi, 0x1c
mov dword [edi], ebp
push esi
call fcn.0055efac
mov dword [esi], ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 0xc