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

Disassembly:
sub esp, 0xd4
push ebx
push ebp
mov ebx, edx
mov edx, ecx
push esi
push edi
mov dword [esp + 0x28], edx
mov edi, dword [edx + 0x20]
mov eax, dword [edx + 0x24]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edi
lea eax, [edi - 1]
cmp eax, 6
ja case.0x101f554c.6
jmp dword [eax*4 + 0x101f5980]
mov dword [esp + 0x14], 0x101f5170
mov dword [esp + 0x18], 0x101f50d0
jmp 0x101f5599
mov dword [esp + 0x14], 0x101f5270
mov dword [esp + 0x18], 0x101f5270
jmp 0x101f5599
mov dword [esp + 0x14], 0x101f5380
mov dword [esp + 0x18], 0x101f5380
jmp 0x101f5599
mov dword [esp + 0x14], 0x101f5480
mov dword [esp + 0x18], 0x101f5450
mov ecx, dword [edx + 0x18]
xor esi, esi
mov edx, dword [edx + 0x1c]
xor ebp, ebp
sar edx, 1
sar ecx, 1
je case.0x101f554c.6
nop dword [eax]
test edx, edx
je 0x101f55ca
movzx eax, byte [edi + 0x102fd190]
inc ebp
imul eax, edx
sar edx, 1
imul eax, ecx
add esi, eax
sar ecx, 1
jne 0x101f55b0
mov dword [esp + 0x2c], ebp
test ebp, ebp
je case.0x101f554c.6
js case.0x101f554c.6
mov ecx, 0x14
lea eax, [ebp + 1]
imul ecx
mov edi, eax
mov ecx, edx
add edi, esi
mov eax, edi
cdq
adc ecx, 0
cmp eax, edi
jne 0x101f55fe
cmp edx, ecx
jne 0x101f55fe
mov al, 1
jmp 0x101f5600
xor al, al
test al, al
je case.0x101f554c.6
test edi, edi
je case.0x101f554c.6
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x60]
xorps xmm0, xmm0
mov dword [esp + 0x60], 0
push eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
movups xmmword [esp + 0x78], xmm0
mov dword [esp + 0x88], 0
mov byte [esp + 0x8c], 0
call fcn.10147240
test al, al
je 0x101f5670
cmp dword [esp + 0x68], 0
je 0x101f597a
test ebx, ebx
je 0x101f56c5
push edi
call ebx
mov esi, eax
add esp, 4
test esi, esi
jne 0x101f568e
mov eax, dword [esp + 0x60]
test eax, eax
je case.0x101f554c.6
push dword [esp + 0x64]
call eax
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd4
ret
push 0x2c
call fcn.102af9f4
mov ebx, eax
add esp, 4
mov ecx, esi
mov dword [esp + 0x4c], ebx
mov dword [ebx], 0x102fd180
mov dword [ebx + 4], 1
mov dword [ebx + 8], 0
mov eax, dword [esi]
call dword [eax + 8]
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0xc], esi
jmp 0x101f56f4
push 0x2c
call fcn.102af9f4
add esp, 4
mov dword [esp + 0x4c], eax
mov ecx, edi
mov ebx, eax
call fcn.101479b0
mov dword [ebx + 4], 1
mov dword [ebx + 8], 0
mov dword [ebx + 0x1c], 1
mov dword [ebx + 0xc], eax
movups xmm0, xmmword [esp + 0x68]
mov dword [ebx], 0x102fd188
mov word [ebx + 0x20], 0x100
mov dword [ebx + 0x18], 1
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], eax
lea eax, [ebp*4]
mov ecx, dword [ebx + 0x10]
add eax, ebp
mov dword [ebx + 0x28], ebp
mov dword [ebx + 0x24], ecx
movups xmmword [esp + 0x8c], xmm0
lea esi, [ecx + eax*4]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], esi
movups xmm0, xmmword [esp + 0x78]
mov edi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
movups xmmword [esp + 0x9c], xmm0
test ebp, ebp
jle 0x101f595c
add ecx, 0xc
mov dword [esp + 0x48], ecx
nop dword [eax]
mov ebp, dword [esp + 0x50]
mov ebx, dword [esp + 0x28]
sar edi, 1
sar edx, 1
movzx eax, byte [ebp + 0x102fd190]
imul eax, edi
mov dword [ecx], edx
mov dword [ecx - 0xc], esi
mov dword [ecx - 4], edi
movd xmm1, edi
mov dword [ecx - 8], eax
movd xmm0, dword [ebx + 0x18]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x40], eax
mov dword [esp + 0xc8], eax
mov eax, edx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ebp
mov ebp, 0
cvtdq2ps xmm1, xmm1
mov dword [esp + 0xac], edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x30], edi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], 0
divss xmm1, xmm0
mov dword [esp + 0xdc], 0
movss dword [ecx + 4], xmm1
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0xb8], ecx
mov ecx, edi
movups xmm0, xmmword [esp + 0xac]
and ecx, 0xfffffffe
mov dword [esp + 0x34], ebx
and eax, 0xfffffffe
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa0]
movups xmmword [esp + 0xcc], xmm0
movzx edx, byte [eax + 0x102ecdfc]
mov eax, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jle 0x101f58c6
mov esi, edi
and esi, 1
mov dword [esp + 0x5c], esi
xor esi, esi
mov edi, ebx
mov ebx, eax
test ecx, ecx
jle 0x101f5877
lea eax, [edx + edx]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x8c]
push eax
push edi
push ebp
push esi
push ebx
call dword [esp + 0x2c]
add edi, dword [esp + 0x6c]
inc esi
add ebx, dword [esp + 0x30]
add esp, 0x14
mov ecx, dword [esp + 0x38]
cmp esi, ecx
jl 0x101f5853
cmp dword [esp + 0x5c], 0
je 0x101f5891
lea eax, [esp + 0x8c]
push eax
push edi
push ebp
push ecx
push ebx
call dword [esp + 0x28]
add esp, 0x14
mov eax, dword [esp + 0x94]
inc ebp
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
lea ebx, [ebx + eax*2]
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x40]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], eax
cmp ebp, dword [esp + 0x3c]
jl 0x101f5842
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
test byte [esp + 0x44], 1
je 0x101f590d
xor esi, esi
test edi, edi
jle 0x101f5909
mov edi, dword [esp + 0x1c]
lea ebp, [edx + edx]
nop word [eax + eax]
lea ecx, [esp + 0x8c]
push ecx
push ebx
push dword [esp + 0x44]
push esi
push eax
call dword [esp + 0x28]
mov eax, dword [esp + 0x34]
inc esi
add eax, edi
add esp, 0x14
add ebx, ebp
mov dword [esp + 0x20], eax
cmp esi, dword [esp + 0x30]
jl 0x101f58e0
mov esi, dword [esp + 0x24]
movups xmm0, xmmword [esp + 0xc0]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
add ecx, 0x14
imul eax, edx
movups xmmword [esp + 0x8c], xmm0
mov dword [esp + 0x48], ecx
movups xmm0, xmmword [esp + 0xd0]
add esi, eax
sub dword [esp + 0x2c], 1
movups xmmword [esp + 0x9c], xmm0
mov dword [esp + 0x24], esi
jne 0x101f5760
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x101f596d
push dword [esp + 0x64]
call ecx
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xd4
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
mov dword [ebp + 0x1f], edx
adc byte [ebp + 85], ah
pop ds
adc byte [edi + 0x55], dh
pop ds
adc byte [ebx + 0x55], dl
pop ds
adc byte [ebx + 0x55], dl
pop ds
adc byte [ecx - 0x76efe0aa], al
push ebp
pop ds
adc ah, cl
int3