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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x4c
mov ebp, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
cmp ebp, 0x21
jae 0x101783c0
push dword [esp + 0x78]
push dword [esp + 0x70]
push eax
push ebp
push edi
call fcn.1017bb00
add esp, 0x14
jmp 0x1017889b
mov ecx, dword [esp + 0x74]
lea edx, [eax - 0x10]
mov dword [esp + 0x14], edx
lea edx, [eax - 8]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x70]
lea edx, [edi + 0x10]
mov dword [esp + 0xc], edi
mov dword [esp + 0x24], edx
mov edx, ebp
nop word [eax + eax]
sub ecx, 1
jb 0x10178886
mov ebx, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 4], edx
shr ebx, 3
mov eax, ebx
imul esi, ebx, 0x38
shl eax, 5
add esi, edi
add eax, edi
cmp edx, 0x40
jae 0x10178440
mov ecx, dword [edi]
mov edx, dword [eax]
mov ebp, dword [esi]
cmp ecx, edx
setb bl
cmp ecx, ebp
setb cl
xor cl, bl
cmp edx, ebp
setb dl
xor dl, bl
cmovne eax, esi
test cl, cl
cmovne eax, edi
jmp 0x1017844e
mov ecx, edi
mov edx, eax
push ebx
push esi
call fcn.1017c520
add esp, 8
mov ecx, eax
movq xmm0, qword [eax]
mov ebx, dword [esp + 4]
sub ecx, edi
shr ecx, 3
cmp dword [esp + 0x10], 0
mov dword [esp + 8], ecx
movd ecx, xmm0
movq qword [esp + 0x2c], xmm0
je 0x1017847e
mov eax, dword [esp + 0x10]
cmp dword [eax], ecx
jae 0x101786a0
cmp ebx, dword [esp + 0x6c]
mov dword [esp], ecx
ja 0x101788a3
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 8]
xor ebp, ebp
mov edx, edi
lea ecx, [eax + ebx*8]
nop word [eax + eax]
mov dword [esp + 0x20], esi
sub esi, 3
mov eax, 0
cmovb esi, eax
lea esi, [edi + esi*8]
cmp edx, esi
jae 0x10178560
mov eax, dword [esp]
mov dword [esp + 0x28], esi
nop word cs:[eax + eax]
nop dword [eax + eax]
xor ebx, ebx
cmp dword [edx], eax
mov eax, dword [esp + 0x68]
lea edi, [ecx - 8]
movsd xmm0, qword [edx]
lea esi, [ecx - 0x10]
movq xmm1, qword [edx + 0x18]
cmovb edi, eax
mov eax, dword [esp]
setb bl
movsd qword [edi + ebp*8], xmm0
movsd xmm0, qword [edx + 8]
lea edi, [ebp + ebx]
cmp dword [edx + 8], eax
mov eax, dword [esp]
cmovb esi, dword [esp + 0x68]
adc ebp, ebx
xor ebx, ebx
cmp dword [edx + 0x10], eax
mov eax, dword [esp]
movsd qword [esi + edi*8], xmm0
lea esi, [ecx - 0x18]
setb bl
movq xmm0, qword [edx + 0x10]
cmovb esi, dword [esp + 0x68]
add ecx, 0xffffffe0
cmp dword [edx + 0x18], eax
mov eax, dword [esp]
mov edi, ecx
cmovb edi, dword [esp + 0x68]
movq qword [esi + ebp*8], xmm0
lea esi, [ebp + ebx]
adc ebp, ebx
add edx, 0x20
movq qword [edi + esi*8], xmm1
mov edi, dword [esp + 0x28]
cmp edx, edi
jb 0x101784d0
jmp 0x10178563
mov eax, dword [esp]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x20]
lea ebx, [edi + esi*8]
jmp 0x1017858b
add ecx, 0xfffffff8
cmp dword [edx], eax
movq xmm0, qword [edx]
mov esi, ecx
cmovb esi, dword [esp + 0x68]
movq qword [esi + ebp*8], xmm0
adc ebp, 0
add edx, 8
cmp edx, ebx
jb 0x10178570
mov ebx, dword [esp + 4]
cmp dword [esp + 0x20], ebx
je 0x101785b0
movq xmm0, qword [edx]
add edx, 8
mov esi, ebx
movq qword [ecx + ebp*8 - 8], xmm0
add ecx, 0xfffffff8
jmp 0x101784a0
lea eax, [ebp*8]
push eax
push dword [esp + 0x6c]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, ebx
sub eax, ebp
je 0x10178651
xor ecx, ecx
cmp eax, 4
jb 0x1017861f
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov ecx, eax
and ecx, 0xfffffffc
lea edx, [edx + ebx*8]
lea esi, [esi + ebp*8]
mov ebx, ecx
nop dword [eax + eax]
movdqu xmm0, xmmword [edx - 0x10]
movdqu xmm1, xmmword [edx]
add edx, 0xffffffe0
pshufd xmm1, xmm1, 0x4e
pshufd xmm0, xmm0, 0x4e
movdqu xmmword [esi - 0x10], xmm1
movdqu xmmword [esi], xmm0
add esi, 0x20
add ebx, 0xfffffffc
jne 0x101785f0
mov ebx, dword [esp + 4]
cmp eax, ecx
je 0x10178651
lea esi, [ecx*8]
lea edx, [ebx*8]
sub edx, esi
lea esi, [edi + ecx*8]
sub ecx, ebx
add edx, dword [esp + 0x18]
lea esi, [esi + ebp*8]
add ecx, ebp
nop dword [eax]
movq xmm0, qword [edx]
add edx, 0xfffffff8
movq qword [esi], xmm0
add esi, 8
inc ecx
jne 0x10178640
test ebp, ebp
je 0x101786a0
cmp ebx, ebp
jb 0x101788a5
lea ecx, [edi + ebp*8]
push dword [esp + 0x78]
lea edx, [esp + 0x30]
push edx
mov ebx, dword [esp + 0x24]
push ebx
push dword [esp + 0x78]
mov esi, dword [esp + 0x78]
push esi
push eax
push ecx
call fcn.10178390
mov ecx, ebx
mov eax, esi
add esp, 0x1c
cmp ebp, 0x21
mov edx, ebp
jae 0x101783f0
jmp 0x101783a8
cmp ebx, dword [esp + 0x6c]
ja 0x101788a3
mov eax, dword [esp + 0x68]
mov ecx, edi
mov edi, dword [esp + 8]
xor esi, esi
lea eax, [eax + ebx*8]
nop dword [eax]
mov ebp, dword [esp + 0xc]
mov dword [esp], edi
sub edi, 3
mov edx, 0
cmovb edi, edx
lea ebx, [ebp + edi*8]
cmp ecx, ebx
jae 0x1017874f
mov edx, dword [esp + 8]
mov ebp, dword [ebp + edx*8]
mov edx, dword [esp + 0x68]
nop word cs:[eax + eax]
cmp ebp, dword [ecx]
movsd xmm0, qword [ecx]
lea edi, [eax - 8]
cmovae edi, edx
movsd qword [edi + esi*8], xmm0
sbb esi, 0xffffffff
cmp ebp, dword [ecx + 8]
movsd xmm0, qword [ecx + 8]
lea edi, [eax - 0x10]
cmovae edi, edx
movsd qword [edi + esi*8], xmm0
sbb esi, 0xffffffff
cmp ebp, dword [ecx + 0x10]
movsd xmm0, qword [ecx + 0x10]
lea edi, [eax - 0x18]
cmovae edi, edx
movsd qword [edi + esi*8], xmm0
sbb esi, 0xffffffff
add eax, 0xffffffe0
cmp ebp, dword [ecx + 0x18]
movq xmm0, qword [ecx + 0x18]
mov edi, eax
cmovae edi, edx
movq qword [edi + esi*8], xmm0
sbb esi, 0xffffffff
add ecx, 0x20
cmp ecx, ebx
jb 0x101786f0
mov edi, dword [esp + 0xc]
mov edx, dword [esp]
lea ebx, [edi + edx*8]
cmp ecx, ebx
jae 0x1017878d
mov edx, dword [esp + 8]
mov ebp, dword [edi + edx*8]
mov edx, dword [esp + 0x68]
nop dword [eax + eax]
add eax, 0xfffffff8
cmp ebp, dword [ecx]
movq xmm0, qword [ecx]
mov edi, eax
cmovae edi, edx
movq qword [edi + esi*8], xmm0
sbb esi, 0xffffffff
add ecx, 8
cmp ecx, ebx
jb 0x10178770
mov ebx, dword [esp + 4]
cmp dword [esp], ebx
je 0x101787c0
movq xmm0, qword [ecx]
mov edx, dword [esp + 0x68]
add eax, 0xfffffff8
add ecx, 8
mov edi, ebx
movq qword [edx + esi*8], xmm0
inc esi
jmp 0x101786c0
lea eax, [esi*8]
push eax
push dword [esp + 0x6c]
mov edi, dword [esp + 0x14]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ebp, ebx
sub ebp, esi
je 0x10178861
xor eax, eax
cmp ebp, 4
jb 0x1017882f
mov ecx, dword [esp + 0x14]
mov eax, ebp
lea edx, [edi + esi*8 + 0x10]
and eax, 0xfffffffc
lea ecx, [ecx + ebx*8]
mov ebx, eax
nop dword [eax]
movdqu xmm0, xmmword [ecx - 0x10]
movdqu xmm1, xmmword [ecx]
add ecx, 0xffffffe0
pshufd xmm1, xmm1, 0x4e
pshufd xmm0, xmm0, 0x4e
movdqu xmmword [edx - 0x10], xmm1
movdqu xmmword [edx], xmm0
add edx, 0x20
add ebx, 0xfffffffc
jne 0x10178800
mov ebx, dword [esp + 4]
cmp ebp, eax
je 0x10178861
mov edx, dword [esp + 0x18]
lea ecx, [eax*8]
sub edx, ecx
lea ecx, [edi + eax*8]
sub eax, ebx
lea ecx, [ecx + esi*8]
lea edx, [edx + ebx*8]
add eax, esi
nop dword [eax]
movq xmm0, qword [edx]
add edx, 0xfffffff8
movq qword [ecx], xmm0
add ecx, 8
inc eax
jne 0x10178850
cmp ebx, esi
jb 0x101788dc
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x1c]
lea edi, [edi + esi*8]
cmp ebp, 0x21
mov dword [esp + 0x10], 0
jae 0x101783da
jmp 0x101783a8
push dword [esp + 0x78]
push 1
push dword [esp + 0x74]
push eax
push edx
push edi
call fcn.10175170
add esp, 0x18
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
mov dword [esp + 0x34], 0x1021d618
mov dword [esp + 0x38], 1
mov dword [esp + 0x44], 0
mov dword [esp + 0x3c], 4
mov dword [esp + 0x40], 0
lea eax, [esp + 0x34]
push 0x1021d620
push eax
call fcn.101cc530
push 0x1021d630
push ebx
push esi
call fcn.101cc8f0
int3