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

Disassembly:
sub esp, 0x28
push ebx
mov dword [esp + 8], 0
push ebp
push esi
push edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x18], 0
mov ebp, dword [edi + 0xc]
mov eax, dword [edi]
add ebp, 0x38
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x48]
mov dword [esp + 0x20], ebp
mov eax, dword [eax + 0x64]
movsx ebx, word [ebp + 2]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 4]
lea esi, [ebx*8]
mov dword [esp + 0x24], esi
mov dword [esi + eax], ecx
mov dword [esi + eax + 4], edx
mov eax, dword [ebp + 4]
mov ecx, dword [edi + 0x4c]
mov edx, dword [edi + 0x50]
mov dword [eax + esi + 8], ecx
mov dword [eax + esi + 0xc], edx
mov eax, dword [ebp + 4]
mov ecx, dword [edi + 0xb4]
mov edx, dword [edi + 0xb8]
mov dword [eax + ebx*8 + 0x10], ecx
mov dword [eax + ebx*8 + 0x14], edx
mov eax, dword [ebp + 4]
mov edx, dword [edi + 0xc0]
mov ecx, dword [edi + 0xbc]
mov dword [eax + ebx*8 + 0x18], ecx
mov dword [eax + ebx*8 + 0x1c], edx
mov eax, dword [ebp + 8]
mov byte [ebx + eax], 0
mov eax, dword [ebp + 8]
mov byte [eax + ebx + 1], 0
mov eax, dword [ebp + 8]
mov byte [eax + ebx + 2], 0
mov eax, dword [ebp + 8]
mov byte [eax + ebx + 3], 0
add ebx, 4
mov edx, dword [edi]
mov dword [esp + 0x1c], ebx
test dword [edx + 4], 0x7fff0000
jne 0x100c36aa
test dword [edx + 8], 0x8000
je 0x100c374a
lea eax, [esp + 0x14]
push eax
push 0
push ebx
push 0
push 8
push dword [esp + 0x3c]
call fcn.100b4390
add esp, 0x18
mov esi, eax
cmp dword [esp + 0x14], 0
mov dword [esp + 0x18], esi
jne 0x100c3ad0
push ebx
push esi
push ebp
push dword [edi + 0x14]
push dword [edi]
call fcn.100c64f0
mov edx, dword [edi]
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x14], ecx
test byte [edx + 0x2e4], 2
jne 0x100c3713
mov edx, dword [esp + 0x24]
mov eax, dword [esi + ebx*8 - 0x18]
sub eax, dword [edx + esi]
add eax, 0x20
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [edi]
sar eax, 6
mov dword [edi + 0x3c], eax
test byte [edx + 0x2e4], 0x10
lea eax, [ebx*8]
jne 0x100c3742
mov eax, dword [eax + esi - 8]
sub eax, dword [esi + ebx*8 - 0x10]
add eax, 0x20
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [edi]
sar eax, 6
mov dword [edi + 0xb0], eax
test ecx, ecx
jne 0x100c3ad0
test byte [edi + 0x10], 2
jne 0x100c3783
push 0
push 0
lea eax, [edi + 0x78]
push ebp
push eax
call fcn.100cb3b0
movzx eax, word [edi + 0x80]
lea eax, [eax*8 + 0x20]
push eax
push dword [edi + 0x88]
push dword [edi + 0x8c]
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [edi]
add esp, 0x1c
test byte [edi + 0x10], 1
mov esi, dword [ebp + 4]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x10], 0
lea ebp, [esi + ebx*8]
jne 0x100c38d3
test dword [edx + 4], 0x7fff0000
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x10], eax
jne 0x100c3847
test dword [edx + 8], 0x8000
jne 0x100c3847
cmp esi, ebp
jae 0x100c38d3
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
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 [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [esi], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
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 [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], eax
add esi, 8
cmp esi, ebp
jb 0x100c37d5
jmp 0x100c38d3
mov ebx, dword [esp + 0x18]
cmp esi, ebp
jae 0x100c38cf
mov eax, dword [ebx]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
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 [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
add eax, 0x20
sar eax, 6
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
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 [esp + 0x34], eax
mov eax, dword [esp + 0x34]
lea ebx, [ebx + 8]
add eax, 0x20
sar eax, 6
mov dword [esi + 4], eax
add esi, 8
cmp esi, ebp
jb 0x100c3853
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi]
test byte [eax + 0x2e4], 2
je 0x100c3952
test byte [edi + 0x10], 2
jne 0x100c3952
mov eax, dword [edi + 0x44]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
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 [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x44], eax
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
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 [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov dword [edi + 0x4c], eax
jmp 0x100c397b
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov eax, dword [edx + 4]
mov ecx, dword [esi + eax]
mov eax, dword [esi + eax + 4]
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], eax
mov eax, dword [edx + 4]
mov ecx, dword [eax + ebx*8 - 0x18]
mov eax, dword [eax + ebx*8 - 0x14]
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x50], eax
mov eax, dword [edi]
mov ecx, dword [edi + 0x10]
test byte [eax + 0x2e4], 0x10
je 0x100c3a7a
test cl, 2
jne 0x100c3a7a
mov eax, dword [edi + 0xb4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
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 [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0xb4], eax
mov eax, dword [edi + 0xb8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
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 [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0xb8], eax
mov eax, dword [edi + 0xbc]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
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 [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0xbc], eax
mov eax, dword [edi + 0xc0]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
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 [esp + 0x34], eax
mov eax, dword [esp + 0x34]
jmp 0x100c3aa9
mov eax, dword [edx + 4]
mov ecx, dword [eax + ebx*8 - 0x10]
mov eax, dword [eax + ebx*8 - 0xc]
mov dword [edi + 0xb4], ecx
mov dword [edi + 0xb8], eax
mov eax, dword [edx + 4]
lea edx, [ebx*8]
mov ecx, dword [eax + edx - 8]
mov eax, dword [eax + edx - 4]
mov dword [edi + 0xbc], ecx
test byte [edi + 0x10], 2
mov dword [edi + 0xc0], eax
jne 0x100c3acc
add word [edi + 0x80], 4
push 0
push edi
call fcn.100c1cd0
add esp, 8
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x18]
push esi
push dword [esp + 0x2c]
call fcn.100b4230
mov eax, dword [esp + 0x1c]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret