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

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 4]
test eax, eax
je 0x101051e7
inc dword [esi + 0xc]
cmp dword [esp + 0x1c], 0
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], eax
jne 0x1010501b
cmp dword [esi + 0x64], 0xffffffff
jne 0x1010501b
push 0
push 0
push esi
call fcn.10104d80
add esp, 0xc
pop esi
add esp, 0xc
ret
mov ecx, dword [esi + 0x18]
push edi
add ecx, 0x78
call fcn.100c47f0
mov edi, eax
mov ecx, 0x100
movzx edx, byte [edi + 4]
movzx eax, byte [edi + 5]
imul edx, ecx
add dx, ax
xor eax, eax
cmp ax, dx
jne 0x1010504d
mov dword [esp + 8], 0x10161c90
jmp 0x10105056
movzx edx, dx
add edx, edi
mov dword [esp + 8], edx
movzx eax, byte [edi + 9]
push ebx
push ebp
movzx ebp, byte [edi + 8]
shl ebp, 8
add ebp, eax
je 0x101051ec
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
push 4
push ebp
call esi
push 4
push ebp
mov ebx, eax
call esi
add esp, 0x10
mov edi, eax
test ebx, ebx
je 0x101051d5
test edi, edi
je 0x101051d5
xor esi, esi
test ebp, ebp
je 0x101050eb
mov edx, dword [esp + 0x10]
xorps xmm1, xmm1
movss xmm2, dword [0x1016483c]
nop word [eax + eax]
movzx ecx, byte [edx + 8]
movzx eax, byte [edx + 9]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
add edx, 0x14
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
mulss xmm0, xmm2
movss dword [edi + esi*4], xmm0
inc esi
cmp esi, ebp
jb 0x101050b0
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x64]
cmp eax, 0xffffffff
je 0x1010510d
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebp
push ecx
push eax
push dword [esi + 0x18]
call fcn.10106a20
add esp, 0x10
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x28], eax
jbe 0x10105184
nop dword [eax]
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + eax*8]
movss xmm0, dword [edx + eax*8 + 4]
xor edx, edx
mov dword [esp + 0x18], ecx
test ebp, ebp
je 0x10105175
mov esi, dword [esp + 0x10]
nop dword [eax + eax]
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 3]
shl ecx, 8
add ecx, eax
cmp ecx, dword [esp + 0x18]
jne 0x10105169
movss dword [edi + edx*4], xmm0
inc edx
add esi, 0x14
cmp edx, ebp
jb 0x10105140
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jb 0x10105120
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0x18]
push ebp
add ecx, 0x7c
push ebx
call fcn.100c46a0
mov ecx, eax
call fcn.100391a0
push ebx
push edi
push ebp
push dword [esi + 0x18]
call fcn.100391a0
push dword [esi + 0x6c]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call esi
mov eax, dword [esp + 0x34]
push dword [eax + 0x70]
call esi
mov eax, dword [esp + 0x38]
add esp, 0x18
mov ecx, eax
mov dword [eax + 0x68], ebp
pop ebp
mov dword [eax + 0x6c], ebx
pop ebx
mov dword [eax + 0x70], edi
pop edi
pop esi
add esp, 0xc
jmp fcn.100e3400
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push ebx
call esi
push edi
call esi
add esp, 8
pop ebp
pop ebx
pop edi
pop esi
add esp, 0xc
ret
xor ebx, ebx
xor edi, edi
jmp 0x101050ef