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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov ebp, dword [esp + 0x1c]
cmp byte [ebp + 0x40], 0
jne 0x100c4e68
push 0x5c
call fcn.100a64d0
add esp, 4
mov edi, eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax + 0x1c], xmm0
mov dword [eax + 0x42], 0xffff003f
mov byte [eax + 0x46], 0
movups xmmword [eax + 0x2c], xmm0
mov dword [eax + 0x3e], 0
mov dword [eax + 0x3a], 0
mov dword [eax + 0x48], 0x3f800000
mov dword [eax + 0x50], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x56], 0
mov dword [eax + 0x52], 0
mov eax, dword [esi + 0x38]
cmp eax, dword [esi + 0x3c]
jne 0x100c4e5f
lea ebx, [eax + 1]
test eax, eax
je 0x100c4e0d
mov ecx, eax
shr ecx, 0x1f
add ecx, eax
sar ecx, 1
add ecx, eax
jmp 0x100c4e12
mov ecx, 8
cmp ecx, ebx
cmovg ebx, ecx
cmp eax, ebx
jge 0x100c4e5f
lea eax, [ebx*4]
push eax
call fcn.100a64d0
add esp, 4
mov edx, dword [esi + 0x40]
test edx, edx
je 0x100c4e56
mov ecx, dword [esi + 0x38]
shl ecx, 2
push ecx
push edx
push eax
mov dword [esp + 0xc], eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push dword [esi + 0x40]
call fcn.100a6500
mov eax, dword [esp + 4]
add esp, 4
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x40]
mov dword [ecx + eax*4], edi
inc dword [esi + 0x38]
mov eax, dword [esi + 0x50]
cmp eax, dword [esi + 0x54]
jne 0x100c4eca
lea ebx, [eax + 1]
test eax, eax
je 0x100c4e84
mov ecx, eax
shr ecx, 0x1f
add ecx, eax
sar ecx, 1
add ecx, eax
jmp 0x100c4e89
mov ecx, 8
cmp ecx, ebx
cmovg ebx, ecx
cmp eax, ebx
jge 0x100c4eca
imul eax, ebx, 0x7c
push eax
call fcn.100a64d0
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x58]
test eax, eax
je 0x100c4ec1
imul ecx, dword [esi + 0x50], 0x7c
push ecx
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push dword [esi + 0x58]
call fcn.100a6500
add esp, 4
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], ebx
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x58]
imul eax, eax, 0x7c
movups xmm0, xmmword [ebp + 0x6c]
movups xmmword [ecx + eax + 0x6c], xmm0
movups xmm0, xmmword [ebp + 0x60]
movups xmmword [ecx + eax + 0x60], xmm0
movups xmm0, xmmword [ebp + 0x50]
movups xmmword [ecx + eax + 0x50], xmm0
movups xmm0, xmmword [ebp + 0x40]
movups xmmword [ecx + eax + 0x40], xmm0
movups xmm0, xmmword [ebp + 0x30]
movups xmmword [ecx + eax + 0x30], xmm0
movups xmm0, xmmword [ebp + 0x20]
movups xmmword [ecx + eax + 0x20], xmm0
movups xmm0, xmmword [ebp]
movups xmm1, xmmword [ebp + 0x10]
movups xmmword [ecx + eax + 0x10], xmm1
movups xmmword [ecx + eax], xmm0
mov eax, dword [esi + 0x50]
mov ebx, dword [esi + 0x58]
lea ecx, [eax + 1]
mov dword [esi + 0x50], ecx
imul ebp, eax, 0x7c
lea edi, [ebx + ebp]
add edi, 0x78
mov eax, dword [ebx + ebp + 0x78]
test eax, eax
je 0x100c4f79
cmp byte [ebx + ebp + 8], 0
je 0x100c4f8c
cmp word [eax + 0x44], 0xffff
je 0x100c4fd4
mov eax, dword [esi + 0x18]
test eax, eax
je 0x100c4f56
push eax
call fcn.100a6500
add esp, 4
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x100c4f66
push eax
call fcn.100a6500
add esp, 4
xorps xmm0, xmm0
movlps qword [esi + 0x18], xmm0
mov eax, dword [edi]
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx + eax*4 - 4]
mov dword [edi], eax
cmp byte [ebx + ebp + 8], 0
jne 0x100c4f3b
lea eax, [ebx + ebp]
mov dword [esp], eax
lea eax, [ebx + ebp]
add eax, 8
mov dword [esp + 4], eax
push dword [ebx + ebp + 4]
call fcn.100a64d0
add esp, 4
mov ecx, dword [esp]
mov dword [ecx], eax
mov ecx, dword [esp + 4]
mov byte [ecx], 1
push dword [ebx + ebp + 4]
mov ecx, dword [esp + 0x20]
push dword [ecx]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [edi]
cmp word [eax + 0x44], 0xffff
jne 0x100c4f46
mov ecx, dword [esp + 0x1c]
movzx ecx, word [ecx + 0x4c]
mov word [eax + 0x44], cx
jmp 0x100c4f46