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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
cmp dword [ebx], eax
jl 0x6fcd9d76
mov eax, dword [ebx + 4]
cmp dword [esp + 0x70], eax
jl 0x6fcd9d76
mov eax, dword [esp + 0x74]
cmp dword [ebx + 8], eax
jl 0x6fcd9d76
mov eax, dword [ebx + 0xc]
cmp dword [esp + 0x74], eax
jl 0x6fcd9d76
cmp dword [esp + 0x7c], 1
je 0x6fcd9e40
mov edx, dword [ebx + 0xdc]
test edx, edx
jne 0x6fcd9d80
mov eax, dword [ebx + 0x28]
mov ebp, dword [ebx + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x38]
mov eax, ebp
mov ecx, ebp
mov esi, dword [ebx + 0xd0]
and eax, 1
add eax, eax
sar ecx, 1
mov edx, edi
and edx, 1
or eax, edx
mov edx, edi
sar edx, 1
mov eax, dword [ebx + eax*4 + 0xa0]
imul edx, esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebp
add edx, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x1c]
add dword [esp + 0x2c], eax
mov eax, ecx
and eax, 1
and edx, 1
add eax, eax
or eax, edx
mov edx, dword [esp + 0x1c]
sar ecx, 1
mov eax, dword [ebx + eax*4 + 0xe4]
sar edx, 1
imul edx, esi
mov esi, edi
xor edi, edi
add edx, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x1c]
add dword [esp + 0x30], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], edx
lea eax, [ebx + eax*8 + 0x1c]
mov dword [esp + 0x4c], eax
xor edi, dword [ebx + 0xd8]
mov edx, ebp
mov eax, esi
xor esi, esi
mov ecx, edi
shl eax, cl
shl edx, cl
mov ecx, esi
sub edx, dword [ebx + 0x98]
cmovne ecx, dword [ebx + 0xd4]
mov dword [esp + 0x3c], ecx
mov ecx, edx
sar ecx, 0x1f
xor edx, ecx
sub ecx, edx
mov edx, dword [ebx + 0xd4]
mov dword [esp + 0x24], ecx
lea ecx, [edx - 1]
sar dword [esp + 0x24], cl
mov ebp, ecx
sub eax, dword [ebx + 0x9c]
mov ecx, esi
mov dword [esp + 0x20], ebp
cmovne ecx, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov ecx, eax
sar ecx, 0x1f
xor eax, ecx
sub ecx, eax
mov eax, ecx
mov ecx, ebp
mov ebp, dword [esp + 0x28]
sar eax, cl
mov ecx, edi
shl edx, cl
mov eax, dword [eax*4 + 0x70752100]
mov edi, edx
mov edx, esi
shl ebp, cl
sub ebp, dword [ebx + 0xfc]
cmovne edx, dword [ebx + 0xd4]
mov ecx, ebp
sar ecx, 0x1f
xor ebp, ecx
sub ecx, ebp
mov ebp, ecx
movzx ecx, byte [esp + 0x20]
sar ebp, cl
sub edi, dword [ebx + 0x100]
cmovne esi, dword [ebx + 0xd4]
mov ecx, edi
sar ecx, 0x1f
xor edi, ecx
sub ecx, edi
mov edi, ecx
mov ecx, dword [esp + 0x24]
add eax, dword [ecx*4 + 0x70752100]
movzx ecx, byte [esp + 0x20]
add eax, dword [ebp*4 + 0x70752100]
sar edi, cl
add eax, dword [edi*4 + 0x70752100]
add eax, dword [esp + 0x3c]
add eax, dword [esp + 0x40]
add eax, edx
add esi, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xb8]
mov dword [esp], eax
call dword [0x70fcbe68]
imul esi, dword [ebx + 0xc8]
add esi, eax
mov eax, dword [ebx + 0xe0]
test eax, eax
je 0x6fcd9d53
cmp esi, dword [ebx + 0x10]
jge 0x6fcd9d76
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov dword [esp + 4], ebx
mov eax, ebp
and eax, 3
sar ebp, 1
add ebp, dword [eax*4 + 0x70751060]
mov eax, edx
and eax, 3
sar edx, 1
add edx, dword [eax*4 + 0x70751060]
mov eax, dword [esp + 0x48]
mov ecx, eax
and ecx, 3
sar eax, 1
add eax, dword [ecx*4 + 0x70751060]
mov ecx, dword [esp + 0x1c]
mov edi, ecx
and edi, 3
sar ecx, 1
add ecx, dword [edi*4 + 0x70751060]
mov dword [esp], ecx
mov ecx, ebp
call fcn.6fcd8b80
add esi, eax
cmp dword [ebx + 0x10], esi
jle 0x6fcd9d76
mov dword [ebx + 0x10], esi
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x70]
mov dword [eax], esi
mov esi, dword [esp + 0x74]
mov dword [eax + 4], esi
mov eax, dword [esp + 0x7c]
mov dword [ebx + 0x84], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x74]
mov ebp, dword [ebx + 0x4c]
mov esi, dword [ebx + 0x50]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], ebp
call fcn.6fcc2430
mov edi, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x7c]
lea eax, [ebx + eax*8 + 0x44]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.6fcc2430
mov ecx, ebp
mov edx, esi
shr ecx, 0x1f
lea ecx, [ecx + ebp]
shr edx, 0x1f
mov dword [esp + 0x48], ecx
lea ecx, [edx + esi]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
mov ecx, edi
mov dword [esp + 0x30], eax
shr ecx, 0x1f
add ecx, edi
mov edi, dword [ebx + 0xdc]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xd0]
mov dword [esp + 0x1c], ecx
sar dword [esp + 0x48], 1
sar dword [esp + 0x38], 1
sar dword [esp + 0x18], 1
sar dword [esp + 0x1c], 1
mov dword [esp + 0x44], eax
jmp 0x6fcd9bdd
mov ecx, dword [ebx + 0xdc]
test ecx, ecx
je 0x6fcd9e65
mov eax, dword [ebx + 0x54]
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x58]
mov dword [esp + 0x34], eax
jmp 0x6fcd9d96
mov eax, dword [ebx + 0x2c]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x38], eax
jmp 0x6fcd9b51