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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x23c
mov eax, dword [esp + 0x250]
lea ebp, [esp + 0xdd]
mov edi, dword [esp + 0x260]
and ebp, 0xffffffc0
mov ecx, dword [esp + 0x254]
mov ebx, dword [esp + 0x25c]
mov edx, dword [eax]
mov dword [esp + 0x1c], edi
lea edi, [esp + 0x163]
and edi, 0xffffffc0
mov word [esp + 0x8e], cx
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov word [esp + 0x8c], bx
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
test dx, dx
je 0x6fcae834
shr cx, 1
movzx ebx, bx
movzx eax, cx
movzx edx, dx
mov dword [esp + 0x88], eax
imul eax, ebx, 0x1e8
mov dword [esp + 0x78], 1
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x258]
add eax, 0x15c
mov dword [esp + 0x7c], eax
lea eax, [edx + 1]
mov dword [esp + 0x84], eax
mov eax, ebx
add eax, 1
mov dword [esp + 0x74], eax
lea esi, [esi]
mov eax, dword [esp + 0x78]
sub eax, 1
cmp word [esp + 0x8c], 0
je 0x6fcae813
mov edx, eax
shl eax, 3
imul eax, dword [esp + 0x88]
shl edx, 4
mov dword [esp + 0x60], edx
movzx edx, word [esp + 0x8e]
mov dword [esp + 0x58], 1
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], eax
jmp 0x6fcae71b
mov dword [esp + 0x54], eax
movzx eax, word [esp + 0x40]
movzx edx, si
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x20]
movzx esi, word [esp + 0x3c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
imul esi, esi
add eax, edx
mov edx, dword [esp + 0x24]
add eax, edx
mov edx, dword [esp + 0x28]
add eax, edx
mov edx, dword [esp + 0x40]
shl eax, 4
sub eax, esi
mov esi, edx
imul esi, edx
sub eax, esi
mov esi, dword [esp + 0x50]
mov edx, esi
imul edx, esi
mov esi, dword [esp + 0x54]
sub eax, edx
mov edx, esi
imul edx, esi
sub eax, edx
xor edx, edx
shl eax, 8
div ecx
mov dword [ebx], eax
add dword [esp + 0x1c], 1
add ebx, 4
cmp dword [esp + 0x1c], 2
jne 0x6fcae769
add dword [esp + 0x30], 1
add dword [esp + 0x48], 8
cmp dword [esp + 0x30], 2
jne 0x6fcae743
mov eax, ebp
mov ebx, dword [esp + 0x64]
mov ebp, edi
mov edi, eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebp
lea eax, [eax + ebx*8]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
add ebx, eax
mov dword [esp], ebx
call dword [0x70fcbe4c]
mov ebx, dword [edi + 4]
mov esi, dword [edi + 0xc]
mov ecx, ebx
mov dword [esp + 0x28], ebx
mov ebx, dword [edi + 8]
mov edx, eax
mov eax, dword [edi]
imul edx, edx
mov dword [esp + 0x20], esi
movzx esi, word [ebp + 4]
mov dword [esp + 0x1c], ebx
movzx ebx, word [ebp]
add ecx, eax
add ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x20]
mov word [esp + 0x30], bx
movzx ebx, word [ebp + 2]
shl ecx, 6
sub ecx, edx
mov edx, dword [esp + 0x34]
test ecx, ecx
mov word [esp + 0x38], bx
movzx ebx, word [ebp + 6]
mov dword [edx + 0x10], ecx
je 0x6fcae803
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x28]
imul ebx, ebx
movzx edx, word [esp + 0x30]
add eax, esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
movzx edx, word [esp + 0x38]
add eax, esi
mov esi, dword [esp + 0x20]
imul edx, edx
add eax, esi
mov esi, dword [esp + 0x3c]
shl eax, 4
imul esi, esi
sub eax, esi
sub eax, ebx
sub eax, edx
mov edx, dword [esp + 0x30]
mov ebx, edx
imul ebx, edx
xor edx, edx
sub eax, ebx
shl eax, 8
div ecx
mov edx, dword [esp + 0x34]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x70]
mov dword [esp], eax
call dword [0x70fcbe4c]
mov ebx, dword [edi + 4]
mov esi, dword [edi + 0xc]
mov ecx, ebx
mov dword [esp + 0x24], ebx
mov ebx, dword [edi + 8]
mov edx, eax
mov eax, dword [edi]
imul edx, edx
mov dword [esp + 0x20], esi
movzx esi, word [ebp + 6]
mov dword [esp + 0x1c], ebx
movzx ebx, word [ebp]
add ecx, eax
add ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x20]
mov word [esp + 0x28], bx
movzx ebx, word [ebp + 2]
shl ecx, 6
sub ecx, edx
mov edx, dword [esp + 0x34]
test ecx, ecx
mov word [esp + 0x30], bx
movzx ebx, word [ebp + 4]
mov dword [edx + 0x14], ecx
je 0x6fcae7f3
movzx edx, word [esp + 0x30]
imul ebx, ebx
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x38], edx
movzx edx, word [esp + 0x28]
add eax, esi
mov esi, dword [esp + 0x1c]
imul edx, edx
add eax, esi
mov esi, dword [esp + 0x20]
add eax, esi
mov esi, dword [esp + 0x30]
shl eax, 4
imul esi, esi
sub eax, esi
sub eax, ebx
sub eax, edx
mov edx, dword [esp + 0x38]
mov ebx, edx
imul ebx, edx
xor edx, edx
sub eax, ebx
mov ebx, dword [esp + 0x34]
shl eax, 8
div ecx
mov dword [ebx + 0x14], eax
add dword [esp + 0x58], 1
mov eax, dword [esp + 0x74]
add dword [esp + 0x34], 0x1e8
cmp dword [esp + 0x58], eax
je 0x6fcae813
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
sub eax, 1
mov dword [esp + 0x64], eax
shl eax, 4
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], eax
mov eax, edi
mov edi, ebp
mov ebp, eax
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x1c], 0
lea eax, [eax + ebx*8]
imul eax, dword [esp + 0x2c]
mov ebx, esi
add eax, dword [esp + 0x5c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
lea eax, [eax + edx*8]
add eax, dword [esp + 0x4c]
mov dword [esp], eax
call dword [0x70fcbe4c]
mov esi, dword [ebp + 8]
mov dword [esp + 0x24], esi
mov esi, dword [ebp + 0xc]
mov edx, eax
mov eax, dword [ebp]
imul edx, edx
mov dword [esp + 0x28], esi
movzx esi, word [edi]
mov ecx, eax
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 4]
mov word [esp + 0x3c], si
movzx esi, word [edi + 2]
mov dword [esp + 0x20], eax
movzx eax, word [edi + 6]
add ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x24]
add ecx, dword [esp + 0x28]
mov word [esp + 0x40], si
movzx esi, word [edi + 4]
shl ecx, 6
sub ecx, edx
test ecx, ecx
mov dword [ebx], ecx
jne 0x6fcae4d0
mov dword [ebx], 0x40
jmp 0x6fcae531
mov eax, dword [esp + 0x34]
mov dword [eax + 0x14], 0x40
jmp 0x6fcae700
mov eax, dword [esp + 0x34]
mov dword [eax + 0x10], 0x40
jmp 0x6fcae636
mov eax, dword [esp + 0x80]
add dword [esp + 0x7c], eax
add dword [esp + 0x78], 1
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x78], eax
jne 0x6fcae480
add esp, 0x23c
pop ebx
pop esi
pop edi
pop ebp
ret