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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov eax, dword [esp + 0xbc]
mov ebp, dword [esp + 0xd4]
mov edx, dword [esp + 0xdc]
mov ebx, dword [esp + 0xe0]
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x54], eax
mov edi, dword [esp + 0xb8]
sub edi, 1
mov esi, edi
shr esi, 0x1f
add esi, edi
mov edi, dword [esp + 0xb8]
sar esi, 1
and edi, 1
cmp dword [esp + 0xb4], esi
mov dword [esp + 0x20], edi
jge 0x4ca670
mov ebp, dword [esp + 0xb4]
mov dword [esp + 0x1c], esi
mov edi, ecx
mov esi, ebp
lea eax, [esi + 1]
lea ebp, [eax + eax]
lea eax, [ebp + eax*8]
shl eax, 3
lea ebx, [edi + eax]
lea eax, [edi + eax - 0x28]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [esp + 0xe4]
test al, al
je 0x4ca434
sub ebp, 1
lea eax, [ebp + ebp*4]
lea ebx, [edi + eax*8]
lea eax, [esi + esi*4]
mov edx, dword [ebx]
cmp ebp, dword [esp + 0x1c]
mov esi, ebp
lea eax, [edi + eax*8]
mov dword [eax], edx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov edx, dword [ebx + 8]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [ebx + 0x18]
mov dword [eax + 0x18], edx
mov edx, dword [ebx + 0x1c]
mov dword [eax + 0x1c], edx
mov edx, dword [ebx + 0x20]
mov dword [eax + 0x20], edx
mov edx, dword [ebx + 0x24]
mov dword [eax + 0x24], edx
jl 0x4ca404
mov ecx, edi
mov edi, ebp
mov ebp, dword [esp + 0x20]
test ebp, ebp
jne 0x4ca4a9
mov eax, dword [esp + 0xb8]
lea edx, [eax - 2]
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
cmp eax, edi
je 0x4ca600
lea eax, [edi + edi*4]
lea ebx, [ecx + eax*8]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x8c], eax
lea eax, [edi - 1]
mov edx, eax
shr edx, 0x1f
add edx, eax
sar edx, 1
cmp edi, dword [esp + 0xb4]
mov ebp, edx
jle 0x4ca5a0
mov ebx, ecx
jmp 0x4ca57b
mov eax, dword [esi]
mov edi, ebp
mov dword [edx], eax
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edx + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edx + 0x24], eax
lea edx, [ebp - 1]
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
cmp dword [esp + 0xb4], ebp
jge 0x4ca660
mov ebp, eax
lea eax, [ebp + ebp*4]
lea esi, [ebx + eax*8]
lea eax, [esp + 0x68]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [esp + 0xe4]
lea edx, [edi + edi*4]
test al, al
lea edx, [ebx + edx*8]
jne 0x4ca524
mov ebx, edx
mov eax, dword [esp + 0x68]
mov dword [ebx], eax
mov eax, dword [esp + 0x6c]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x70]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x74]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x7c]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x84]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x88]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x8c]
mov dword [ebx + 0x24], eax
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [edi + 1]
lea eax, [edi + edi*4]
lea ebx, [edx + edx]
lea eax, [ecx + eax*8]
lea edx, [ebx + edx*8]
lea edi, [ebx - 1]
lea esi, [ecx + edx*8]
lea edx, [esi - 0x28]
mov esi, dword [esi - 0x28]
mov dword [eax], esi
mov esi, dword [edx + 4]
mov dword [eax + 4], esi
mov esi, dword [edx + 8]
mov dword [eax + 8], esi
mov esi, dword [edx + 0xc]
mov dword [eax + 0xc], esi
mov esi, dword [edx + 0x10]
mov dword [eax + 0x10], esi
mov esi, dword [edx + 0x14]
mov dword [eax + 0x14], esi
mov esi, dword [edx + 0x18]
mov dword [eax + 0x18], esi
mov esi, dword [edx + 0x1c]
mov dword [eax + 0x1c], esi
mov esi, dword [edx + 0x20]
mov dword [eax + 0x20], esi
mov edx, dword [edx + 0x24]
mov dword [eax + 0x24], edx
lea eax, [edi + edi*4]
lea ebx, [ecx + eax*8]
jmp 0x4ca4a9
mov ebx, esi
jmp 0x4ca5a0
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0xb4]
test esi, esi
je 0x4ca488
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x88], edx
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x24]
lea eax, [eax + eax*4]
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x28]
lea ebx, [ecx + eax*8]
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x7c], edi
jmp 0x4ca5a0