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

Disassembly:
mov ecx, dword [0x6c4e70]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4caadd
sub esp, 0x54
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
xor eax, eax
mov ecx, 0x7b
jmp 0x4ca87d
mov edi, dword [esp + 0x24]
inc edi
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x38]
mov ecx, eax
mov eax, edi
cmp eax, edx
jge 0x4ca9de
mov edi, dword [esp + 0x5c]
cmp eax, edi
jae 0x4caad5
mov dword [esp + 0x24], eax
mov byte [esp + 0x1f], cl
mov edi, dword [esp + 0x58]
mov dword [esp + 0x50], edi
shl eax, 6
mov edx, dword [esp + 0x24]
lea eax, [eax + edx*4]
mov dword [esp + 0x34], eax
mov edx, dword [edi + eax + 0x28]
mov dword [esp + 0x4c], edx
mov ecx, dword [edi + eax + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
jmp 0x4caa5b
movzx eax, byte [esp + 0x1f]
jmp 0x4ca864
mov dword [esp + 0x44], ebp
mov edx, dword [esp + 0x50]
movzx edi, byte [edx + eax + 0x3c]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4ca8f0
xor ecx, ecx
jmp 0x4ca91b
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call fcn.004c7f80
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov ecx, eax
mov eax, dword [esp + 0x34]
test cl, cl
je 0x4ca929
movzx eax, byte [esp + 0x1f]
jmp 0x4ca864
mov eax, dword [esp + 0x6c]
test byte [eax], al
mov dword [esp], eax
movzx ecx, byte [esp + 0x1f]
mov byte [esp + 4], cl
call fcn.004b9db0
movzx eax, byte [esp + 0x7d]
test al, al
je 0x4ca96f
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + eax + 0x1c]
mov ebx, dword [ecx + eax + 0x20]
mov ebp, dword [esp + 0x6c]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004b9a60
jmp 0x4ca993
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + eax + 0x14]
mov ebx, dword [ecx + eax + 0x18]
mov ebp, dword [esp + 0x6c]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004b9a60
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
movzx ebx, byte [ecx + eax + 0x3d]
mov edx, dword [ecx + eax + 0x40]
mov eax, dword [edx]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc], ebp
mov byte [esp + 0x10], bl
movzx ebx, byte [esp + 0x7d]
mov byte [esp + 0x11], bl
call eax
mov eax, 0x2c
jmp 0x4ca864
cmp cl, 0x7b
jne 0x4caa05
mov eax, dword [esp + 0x6c]
test byte [eax], al
mov dword [esp], eax
lea eax, [0x5863db]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.004b9a60
jmp 0x4caa18
mov eax, dword [esp + 0x6c]
test byte [eax], al
mov dword [esp], eax
mov byte [esp + 4], 0x7d
call fcn.004b9db0
add esp, 0x54
ret
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.004879f0
mov eax, dword [esp + 0x2c]
inc eax
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
mov ecx, edx
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], esi
mov edi, dword [esp + 0x2c]
cmp edi, ecx
jge 0x4ca8d9
and ebx, 0x1f
mov eax, dword [edx + edi*4]
nop
cmp ebx, 0x16
jne 0x4caacc
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x28]
test ebx, 0x200
jne 0x4caaa7
test ebx, 0x80
je 0x4caa9b
mov edx, dword [esi]
mov esi, edx
mov edx, dword [esp + 0x4c]
test esi, esi
je 0x4ca8d2
mov esi, dword [esp + 0x48]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call fcn.00487840
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
jmp 0x4caa1c
mov ebx, dword [esp + 0x28]
jmp 0x4caa1c
mov ecx, edi
call fcn.00460f60
nop
call fcn.0045faf0
jmp fcn.004ca830