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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov edi, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0x60]
lea esi, [edi - 1]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov edi, esi
mov dword [esp + 0x2c], ebx
shr edi, 0x1f
add edi, esi
mov esi, dword [esp + 0x68]
sar edi, 1
and esi, 1
cmp dword [esp + 0x64], edi
mov dword [esp + 0x1c], esi
jge 0x4ca300
mov ebp, dword [esp + 0x64]
mov esi, edx
mov dword [esp + 0x18], edi
lea esi, [esi]
lea ebx, [ebp + 1]
lea edi, [ebx + ebx]
shl ebx, 5
add ebx, esi
lea eax, [edi + 0xfffffff]
mov dword [esp], ebx
shl eax, 4
add eax, esi
mov dword [esp + 4], eax
call dword [esp + 0x7c]
test al, al
je 0x4ca1bf
sub edi, 1
mov ebx, edi
shl ebx, 4
add ebx, esi
mov eax, dword [ebx]
shl ebp, 4
add ebp, esi
cmp edi, dword [esp + 0x18]
mov dword [ebp], eax
mov eax, dword [ebx + 4]
mov dword [ebp + 4], eax
mov eax, dword [ebx + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov ebp, edi
jl 0x4ca190
mov ebp, dword [esp + 0x1c]
mov edx, esi
mov esi, edi
test ebp, ebp
jne 0x4ca20e
mov eax, dword [esp + 0x68]
lea ecx, [eax - 2]
mov eax, ecx
shr eax, 0x1f
add eax, ecx
sar eax, 1
cmp eax, esi
je 0x4ca2c1
mov ebx, esi
shl ebx, 4
add ebx, edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
lea eax, [esi - 1]
mov ecx, eax
shr ecx, 0x1f
add ecx, eax
sar ecx, 1
cmp esi, dword [esp + 0x64]
mov ebp, ecx
jle 0x4ca29e
mov edi, edx
jmp 0x4ca27c
mov eax, dword [ebx]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
lea esi, [ebp - 1]
mov eax, esi
shr eax, 0x1f
add eax, esi
mov esi, ebp
sar eax, 1
cmp dword [esp + 0x64], ebp
jge 0x4ca29e
mov ebp, eax
mov edx, ebp
lea eax, [esp + 0x30]
shl esi, 4
shl edx, 4
add esi, edi
lea ebx, [edi + edx]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [esp + 0x7c]
test al, al
jne 0x4ca250
mov ebx, esi
mov eax, dword [esp + 0x30]
mov dword [ebx], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0xc], eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
lea ecx, [esi + esi + 2]
shl esi, 4
add esi, edx
lea eax, [ecx + 0xfffffff]
shl eax, 4
add eax, edx
mov ebx, dword [eax]
mov dword [esi], ebx
mov ebx, dword [eax + 4]
mov dword [esi + 4], ebx
mov ebx, dword [eax + 8]
mov dword [esi + 8], ebx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
lea esi, [ecx - 1]
mov ebx, esi
shl ebx, 4
add ebx, edx
jmp 0x4ca20e
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x64]
test edi, edi
je 0x4ca1ef
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
shl ebx, 4
add ebx, edx
jmp 0x4ca29e