Function at 0x10178360
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 0x10178390
push dword [esp + 0x78]
push dword [esp + 0x70]
push eax
push ebp
push edi
call fcn.10179540
add esp, 0x14
jmp 0x1017887b
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 0x10178866
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 0x10178410
movzx ecx, byte [edi]
movzx edx, byte [eax]
mov dh, byte [esi]
cmp cl, dl
setb ch
cmp cl, dh
setb cl
xor cl, ch
cmp dl, dh
setb dl
xor dl, ch
cmovne eax, esi
test cl, cl
cmovne eax, edi
jmp 0x1017841e
mov ecx, edi
mov edx, eax
push ebx
push esi
call fcn.101721b0
add esp, 8
mov ecx, eax
mov ebx, dword [esp + 4]
sub ecx, edi
shr ecx, 3
cmp dword [esp + 0x10], 0
mov dword [esp + 8], ecx
movzx ecx, byte [eax]
mov eax, dword [eax + 4]
mov byte [esp + 0x2c], cl
mov dword [esp + 0x30], eax
je 0x1017844e
mov eax, dword [esp + 0x10]
cmp byte [eax], cl
jae 0x10178680
cmp ebx, dword [esp + 0x6c]
ja 0x10178883
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 8]
xor ebp, ebp
mov edx, edi
mov byte [esp], cl
lea eax, [eax + ebx*8]
nop word [eax + eax]
mov dword [esp + 0x20], esi
sub esi, 3
mov ecx, 0
cmovb esi, ecx
lea esi, [edi + esi*8]
cmp edx, esi
jae 0x10178530
movzx ecx, byte [esp]
mov dword [esp + 0x28], esi
nop word cs:[eax + eax]
nop dword [eax]
xor ebx, ebx
cmp byte [edx], cl
mov ecx, dword [esp + 0x68]
lea edi, [eax - 8]
movsd xmm0, qword [edx]
lea esi, [eax - 0x10]
movq xmm1, qword [edx + 0x18]
cmovb edi, ecx
movzx ecx, byte [esp]
setb bl
movsd qword [edi + ebp*8], xmm0
movsd xmm0, qword [edx + 8]
lea edi, [ebp + ebx]
cmp byte [edx + 8], cl
movzx ecx, byte [esp]
cmovb esi, dword [esp + 0x68]
adc ebp, ebx
xor ebx, ebx
cmp byte [edx + 0x10], cl
movzx ecx, byte [esp]
movsd qword [esi + edi*8], xmm0
lea esi, [eax - 0x18]
setb bl
movq xmm0, qword [edx + 0x10]
cmovb esi, dword [esp + 0x68]
add eax, 0xffffffe0
cmp byte [edx + 0x18], cl
movzx ecx, byte [esp]
mov edi, eax
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 0x101784a0
jmp 0x10178534
movzx ecx, byte [esp]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x20]
lea ebx, [edi + esi*8]
jmp 0x1017856b
add eax, 0xfffffff8
cmp byte [edx], cl
movq xmm0, qword [edx]
mov esi, eax
cmovb esi, dword [esp + 0x68]
movq qword [esi + ebp*8], xmm0
adc ebp, 0
add edx, 8
cmp edx, ebx
jb 0x10178550
mov ebx, dword [esp + 4]
cmp dword [esp + 0x20], ebx
je 0x10178590
movq xmm0, qword [edx]
add edx, 8
mov esi, ebx
movq qword [eax + ebp*8 - 8], xmm0
add eax, 0xfffffff8
jmp 0x10178470
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 0x10178631
xor ecx, ecx
cmp eax, 4
jb 0x101785ff
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 0x101785d0
mov ebx, dword [esp + 4]
cmp eax, ecx
je 0x10178631
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 0x10178620
test ebp, ebp
je 0x10178680
cmp ebx, ebp
jb 0x10178885
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.10178360
mov ecx, ebx
mov eax, esi
add esp, 0x1c
cmp ebp, 0x21
mov edx, ebp
jae 0x101783c0
jmp 0x10178378
cmp ebx, dword [esp + 0x6c]
ja 0x10178883
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 8]
xor esi, esi
mov ecx, edi
lea eax, [eax + ebx*8]
nop dword [eax]
mov dword [esp], edx
sub edx, 3
mov ebx, 0
cmovb edx, ebx
lea ebx, [edi + edx*8]
cmp ecx, ebx
jae 0x1017872f
mov edx, dword [esp + 8]
mov ebp, dword [esp + 0x68]
movzx edx, byte [edi + edx*8]
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp dl, byte [ecx]
movsd xmm0, qword [ecx]
lea edi, [eax - 8]
cmovae edi, ebp
movsd qword [edi + esi*8], xmm0
sbb esi, 0xffffffff
cmp dl, byte [ecx + 8]
movsd xmm0, qword [ecx + 8]
lea edi, [eax - 0x10]
cmovae edi, ebp
movsd qword [edi + esi*8], xmm0
sbb esi, 0xffffffff
cmp dl, byte [ecx + 0x10]
movsd xmm0, qword [ecx + 0x10]
lea edi, [eax - 0x18]
cmovae edi, ebp
movsd qword [edi + esi*8], xmm0
sbb esi, 0xffffffff
add eax, 0xffffffe0
cmp dl, byte [ecx + 0x18]
movq xmm0, qword [ecx + 0x18]
mov edi, eax
cmovae edi, ebp
movq qword [edi + esi*8], xmm0
sbb esi, 0xffffffff
add ecx, 0x20
cmp ecx, ebx
jb 0x101786d0
mov edi, dword [esp + 0xc]
mov edx, dword [esp]
lea edx, [edi + edx*8]
cmp ecx, edx
jae 0x1017876d
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x68]
movzx ebx, byte [edi + ebx*8]
nop dword [eax]
add eax, 0xfffffff8
cmp bl, byte [ecx]
movq xmm0, qword [ecx]
mov edi, eax
cmovae edi, ebp
movq qword [edi + esi*8], xmm0
sbb esi, 0xffffffff
add ecx, 8
cmp ecx, edx
jb 0x10178750
mov ebx, dword [esp + 4]
cmp dword [esp], ebx
je 0x101787a0
movq xmm0, qword [ecx]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0xc]
add eax, 0xfffffff8
add ecx, 8
movq qword [edx + esi*8], xmm0
inc esi
mov edx, ebx
jmp 0x101786a0
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 0x10178841
xor eax, eax
cmp ebp, 4
jb 0x1017880f
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 0x101787e0
mov ebx, dword [esp + 4]
cmp ebp, eax
je 0x10178841
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 0x10178830
cmp ebx, esi
jb 0x101788bc
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x1c]
lea edi, [edi + esi*8]
cmp ebp, 0x21
mov dword [esp + 0x10], 0
jae 0x101783aa
jmp 0x10178378
push dword [esp + 0x78]
push 1
push dword [esp + 0x74]
push eax
push edx
push edi
call fcn.10177860
add esp, 0x18
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
mov dword [esp + 0x34], 0x1021c6f8
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 0x1021c700
push eax
call fcn.101cb880
push 0x1021c710
push ebx
push esi
call fcn.101cbc60
int3