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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push 4
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x44]
mov dword [ebp - 0xc], edi
movsx edx, word [edi + 0x3a]
mov ecx, dword [edi + 0x3c]
mov dword [ecx + edx*8], eax
mov eax, dword [esi + 0x48]
mov dword [ecx + edx*8 + 4], eax
mov ecx, dword [edi + 0x3c]
mov eax, dword [esi + 0x4c]
mov dword [ecx + edx*8 + 8], eax
mov eax, dword [esi + 0x50]
mov dword [ecx + edx*8 + 0xc], eax
mov ecx, dword [edi + 0x3c]
mov eax, dword [esi + 0xb4]
mov dword [ecx + edx*8 + 0x10], eax
mov eax, dword [esi + 0xb8]
mov dword [ecx + edx*8 + 0x14], eax
mov ecx, dword [edi + 0x3c]
mov eax, dword [esi + 0xbc]
mov dword [ecx + edx*8 + 0x18], eax
mov eax, dword [esi + 0xc0]
mov dword [ecx + edx*8 + 0x1c], eax
mov eax, dword [edi + 0x40]
mov byte [edx + eax], bl
mov eax, dword [edi + 0x40]
mov byte [edx + eax + 1], bl
mov eax, dword [edi + 0x40]
mov byte [edx + eax + 2], bl
mov eax, dword [edi + 0x40]
mov byte [edx + eax + 3], bl
pop eax
add edx, eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], eax
test al, 2
jne 0x100c2109
push ebx
push ebx
lea eax, [edi + 0x38]
push eax
lea eax, [esi + 0x78]
push eax
call fcn.100c49be
movzx eax, word [esi + 0x80]
lea eax, [eax*8 + 0x20]
push eax
push dword [esi + 0x88]
push dword [esi + 0x8c]
call fcn.10147030
mov eax, dword [esi + 0x10]
add esp, 0x1c
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov edi, dword [edi + 0x3c]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 1], bl
lea ecx, [edi + edx*8]
mov dword [ebp - 0x10], ecx
test al, 1
jne 0x100c2138
mov eax, dword [esi + 4]
mov byte [ebp - 1], 1
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x10]
mov ecx, edi
cmp byte [ebp - 1], bl
je 0x100c21c5
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 0x10]
jae 0x100c21c5
mov esi, dword [ebp - 0x10]
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 4], eax
add edi, 8
cmp edi, esi
jb 0x100c214e
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + 0x3c]
mov dword [ebp - 8], eax
jmp 0x100c21c8
mov edi, dword [ebp - 0xc]
test byte [ebp - 8], 2
mov eax, dword [ecx + edx*8 - 0x20]
mov dword [esi + 0x44], eax
mov eax, dword [ecx + edx*8 - 0x1c]
mov dword [esi + 0x48], eax
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx + edx*8 - 0x18]
mov dword [esi + 0x4c], eax
mov eax, dword [ecx + edx*8 - 0x14]
mov dword [esi + 0x50], eax
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx + edx*8 - 0x10]
mov dword [esi + 0xb4], eax
mov eax, dword [ecx + edx*8 - 0xc]
mov dword [esi + 0xb8], eax
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx + edx*8 - 8]
mov dword [esi + 0xbc], eax
mov eax, dword [ecx + edx*8 - 4]
mov dword [esi + 0xc0], eax
jne 0x100c2230
push 4
pop eax
add word [esi + 0x80], ax
push ebx
push esi
call fcn.100c0f59
pop ecx
pop ecx
mov ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret