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

Disassembly:
mov ecx, dword [esp + 0x10]
sub esp, 0x38
mov eax, dword [esp + 0x4c]
push ebx
push ebp
push esi
push edi
cmp ecx, eax
jg 0x881731
mov ebx, dword [esp + 0x50]
mov ebp, ebx
sar ecx, 1
mov dword [esp + 0x14], ecx
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esp + 0x4c]
lea edi, [ecx + eax*8]
mov ecx, dword [esp + 0x54]
sub ecx, ebx
mov dword [esp + 0x10], edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
test esi, esi
jle 0x8816e4
mov ecx, dword [esp + 0x10]
mov edi, esi
shr edi, 1
lea eax, [edi*8]
sub eax, edi
lea ebx, [eax*8]
mov eax, dword [ecx + 8]
mov dword [esp + 0x18], eax
add ebx, ebp
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x20], eax
mov al, byte [ecx + 0x2c]
mov byte [esp + 0x24], al
mov al, byte [ecx + 0x2d]
mov byte [esp + 0x25], al
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x28], eax
mov al, byte [ecx + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x2c], al
mov eax, dword [ebx + 8]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x38], eax
mov al, byte [ebx + 0x2c]
mov byte [esp + 0x3c], al
mov al, byte [ebx + 0x2d]
mov byte [esp + 0x3d], al
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x40], eax
mov al, byte [ebx + 0x34]
mov byte [esp + 0x44], al
lea eax, [esp + 0x18]
push eax
call fcn.00885080
test al, al
je 0x8816d2
or eax, 0xffffffff
lea ebp, [ebx + 0x38]
sub eax, edi
add esi, eax
jmp 0x8816d4
mov esi, edi
test esi, esi
jg 0x881638
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x50]
mov ecx, ebp
mov eax, 0x92492493
sub ecx, ebx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push dword [esp + 0x18]
mov eax, dword [esp + 0x64]
push ebp
push edi
push dword [esp + 0x78]
push dword [esp + 0x78]
push dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push eax
push dword [esp + 0x78]
push ebx
push dword [esp + 0x78]
call fcn.00881540
add esp, 0x30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov ebx, dword [esp + 0x4c]
mov ecx, eax
sar ecx, 1
mov ebp, ebx
mov dword [esp + 0x14], ecx
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esp + 0x50]
lea edi, [ecx + eax*8]
sub ecx, ebx
mov eax, 0x92492493
mov dword [esp + 0x10], edi
imul ecx
add edx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
test esi, esi
jle 0x88181d
mov ecx, dword [esp + 0x10]
mov edi, esi
shr edi, 1
lea eax, [edi*8]
sub eax, edi
lea ebx, [eax*8]
mov eax, dword [ebx + ebp + 8]
mov dword [esp + 0x30], eax
add ebx, ebp
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x38], eax
mov al, byte [ebx + 0x2c]
mov byte [esp + 0x3c], al
mov al, byte [ebx + 0x2d]
mov byte [esp + 0x3d], al
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x40], eax
mov al, byte [ebx + 0x34]
mov byte [esp + 0x44], al
mov eax, dword [ecx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x20], eax
mov al, byte [ecx + 0x2c]
mov byte [esp + 0x24], al
mov al, byte [ecx + 0x2d]
mov byte [esp + 0x25], al
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x28], eax
mov al, byte [ecx + 0x34]
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], al
lea eax, [esp + 0x30]
push eax
call fcn.00885080
test al, al
je 0x881803
mov esi, edi
jmp 0x88180d
or eax, 0xffffffff
lea ebp, [ebx + 0x38]
sub eax, edi
add esi, eax
test esi, esi
jg 0x881770
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x4c]
push dword [esp + 0x14]
mov ecx, ebp
mov eax, 0x92492493
sub ecx, ebx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
mov eax, dword [esp + 0x64]
push edi
push ebp
push dword [esp + 0x78]
push dword [esp + 0x78]
push dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push eax
push dword [esp + 0x78]
push dword [esp + 0x78]
push ebx
call fcn.00881540
add esp, 0x30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret