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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1008c01
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0100859f
push dword [ebp + 0x10]
mov ecx, esi
call fcn.010085e3
push dword [ebp + 0x14]
mov ecx, esi
call 0x5e008627
and al, 0x64
mov dword [esp + 0x30], edx
mov edx, eax
sub eax, dword [esp + 0x84]
and al, 0x84
add byte [eax], al
add byte [ebx], ch
xchg esp, eax
and al, 0x80
add byte [eax], al
add byte [ecx - 0x76e7db8c], cl
inc esp
and al, 0x24
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], ebp
test eax, eax
mov dword [esp + 0x20], edx
jle 0x1008f59
movzx ecx, byte [0x5fee7f17]
xor eax, eax
mov esi, dword [esp + 0x78]
and ecx, 1
lea edi, [esi + 2]
lea ebp, [esi + 4]
lea edx, [esi + 6]
mov dword [esp + 0x28], ecx
lea ecx, [esi + 8]
mov dword [esp + 0xc], esi
add esi, 0xa
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], esi
jmp 0x1008d7f
test edi, 0xc0000000
je 0x1008c93
neg edi
sar edi, 0x1f
and edi, 0x3fffffff
mov ebp, dword [esp + 0x14]
shr edi, 0xe
mov edx, dword [esp + 0xc]
rol di, 8
add ebp, esi
test ebp, 0xc0000000
mov word [edx], di
je 0x1008cba
neg ebp
sar ebp, 0x1f
and ebp, 0x3fffffff
mov edi, dword [esp + 0xc]
shr ebp, 0xe
mov edx, dword [esp + 0x3c]
rol bp, 8
add esi, dword [esp]
sub edi, dword [esp + 0x78]
test esi, 0xc0000000
mov word [edi + edx], bp
je 0x1008ce7
neg esi
sar esi, 0x1f
and esi, 0x3fffffff
mov ebp, dword [esp + 0x40]
shr esi, 0xe
rol si, 8
mov word [edi + ebp], si
mov esi, dword [esp + 0x10]
add esi, ecx
test esi, 0xc0000000
je 0x1008d0f
neg esi
sar esi, 0x1f
and esi, 0x3fffffff
mov ebp, dword [esp + 0x44]
shr esi, 0xe
rol si, 8
mov word [edi + ebp], si
mov ebp, dword [esp + 0x14]
add ebp, ecx
test ebp, 0xc0000000
je 0x1008d37
neg ebp
sar ebp, 0x1f
and ebp, 0x3fffffff
mov edx, dword [esp]
shr ebp, 0xe
mov esi, dword [esp + 0x48]
rol bp, 8
add edx, ecx
test edx, 0xc0000000
mov word [edi + esi], bp
je 0x1008d5e
neg edx
sar edx, 0x1f
and edx, 0x3fffffff
shr edx, 0xe
mov ecx, dword [esp + 0x4c]
add eax, 1
rol dx, 8
add dword [esp + 0xc], 0xc
cmp eax, dword [esp + 0x7c]
mov word [edi + ecx], dx
je 0x1008f59
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x80]
imul esi, dword [edi + eax*8]
imul edx, dword [ebp + eax*8]
mov ecx, dword [esp + 0x20]
imul ecx, dword [edi + eax*8 + 4]
mov edi, dword [esp + 0x24]
add esi, edx
mov edx, dword [esp + 0x80]
imul edx, dword [ebp + eax*8 + 4]
mov ebp, dword [esp + 0x30]
sar esi, 0xe
add ecx, edx
mov edx, dword [esp + 0x2c]
sar ecx, 0xe
imul edi, dword [edx + eax*4]
mov edx, dword [esp + 0x84]
imul edx, dword [ebp + eax*4]
mov ebp, dword [esp + 0x38]
lea edx, [edi + edx - 0x40000000]
mov edi, dword [esp + 0x24]
sar edx, 0xe
mov dword [esp + 8], edx
mov edx, dword [esp + 0x34]
imul edi, dword [edx + eax*4]
mov edx, dword [esp + 0x84]
imul edx, dword [ebp + eax*4]
lea ebp, [edi + edx - 0x40000000]
mov edi, dword [ebx + 0x1928]
sar ebp, 0xe
sub esi, edi
sub ecx, edi
mov edi, dword [ebx + 0x192c]
imul esi, edi
imul ecx, edi
mov edi, dword [ebx + 0x1930]
add esi, 0x2000
imul edi, ebp
add ecx, 0x2000
imul ebp, dword [ebx + 0x1934]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 8]
imul edi, dword [ebx + 0x1938]
add edi, ebp
mov ebp, dword [esp + 8]
imul ebp, dword [ebx + 0x193c]
mov dword [esp + 0x14], edi
mov dword [esp], ebp
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
add edi, esi
test ebp, ebp
jne 0x1008c80
test edi, 0xc0000000
je 0x1008e84
neg edi
sar edi, 0x1f
and edi, 0x3fffffff
mov ebp, dword [esp + 0xc]
shr edi, 0xe
mov word [ebp], di
mov ebp, dword [esp + 0x14]
add ebp, esi
test ebp, 0xc0000000
je 0x1008ea8
neg ebp
sar ebp, 0x1f
and ebp, 0x3fffffff
mov edi, dword [esp + 0xc]
shr ebp, 0xe
mov edx, dword [esp + 0x3c]
add esi, dword [esp]
sub edi, dword [esp + 0x78]
test esi, 0xc0000000
mov word [edi + edx], bp
je 0x1008ed1
neg esi
sar esi, 0x1f
and esi, 0x3fffffff
mov edx, dword [esp + 0x40]
shr esi, 0xe
mov word [edi + edx], si
mov esi, dword [esp + 0x10]
add esi, ecx
test esi, 0xc0000000
je 0x1008ef5
neg esi
sar esi, 0x1f
and esi, 0x3fffffff
mov ebp, dword [esp + 0x14]
shr esi, 0xe
mov edx, dword [esp + 0x44]
add ebp, ecx
test ebp, 0xc0000000
mov word [edi + edx], si
je 0x1008f19
neg ebp
sar ebp, 0x1f
and ebp, 0x3fffffff
mov edx, dword [esp + 0x48]
shr ebp, 0xe
mov word [edi + edx], bp
mov edx, dword [esp]
add edx, ecx
test edx, 0xc0000000
je 0x1008f3c
neg edx
sar edx, 0x1f
and edx, 0x3fffffff
mov esi, dword [esp + 0x4c]
shr edx, 0xe
add eax, 1
add dword [esp + 0xc], 0xc
cmp eax, dword [esp + 0x7c]
mov word [edi + esi], dx
jne 0x1008d7f
add esp, 0x50
pop ebx
pop esi
pop edi
pop ebp
ret