Function at 0x10171120
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x10171ed0
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], edx
mov edi, dword fs:[0]
mov dword [ebp - 0x18], edi
mov dword fs:[0], eax
test byte [esi + 8], 1
je 0x1017117b
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 0x14]
test edi, edi
mov dword [ebp - 0x24], ebx
je 0x10171186
mov eax, dword [esi + 0x18]
cmp edi, eax
jae 0x1017118a
cmp byte [ebx + edi], 0xbf
jg 0x10171190
jmp 0x101713a7
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x18]
mov dword [ebp - 0x24], eax
jmp 0x10171190
xor edi, edi
jmp 0x10171190
jne 0x101713a7
mov ecx, dword [ebp + 0x10]
mov esi, dword [edx]
mov ebx, dword [edx + 8]
mov dword [ebp - 0x28], edi
sub ecx, dword [ebp + 0xc]
mov eax, esi
sub eax, ebx
add ecx, edi
cmp eax, ecx
jae 0x101711d6
mov dword [ebp - 0x10], 0
push 1
push 1
push ecx
push ebx
push edx
call fcn.101c6630
add esp, 0x14
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x28]
mov esi, dword [edx]
mov ecx, dword [edx + 8]
mov eax, esi
sub eax, ecx
cmp eax, edi
jb 0x101711dc
mov dword [ebp - 0x2c], esi
jmp 0x101711fd
mov ecx, ebx
cmp eax, edi
jae 0x101711d1
mov dword [ebp - 0x10], 0
push 1
push 1
push edi
push ecx
push edx
call fcn.101c6630
add esp, 0x14
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x2c], eax
mov edi, dword [edx + 4]
mov ebx, dword [ebp - 0x28]
lea eax, [edi + ecx]
push ebx
push dword [ebp - 0x24]
push eax
mov esi, ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add esi, ebx
mov eax, dword [ebp - 0x20]
cmp esi, dword [ebp - 0x2c]
mov dword [eax + 8], esi
jne 0x1017123e
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x10], 0
push eax
call fcn.100132b0
add esp, 4
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov edi, dword [eax + 4]
mov byte [edi + esi], 0x23
inc esi
mov ebx, dword [ebp + 0x10]
mov dword [eax + 8], esi
mov esi, dword [ebp + 0xc]
mov eax, 0x2600
jmp 0x1017126e
mov ecx, edx
cmp ecx, 0x110000
jne 0x10171325
cmp esi, ebx
je 0x10171325
movzx edx, byte [esi]
movzx ecx, dl
test dl, dl
js 0x10171290
inc esi
mov edx, ecx
cmp edx, 0xd
jbe 0x101712f9
jmp 0x10171260
movzx edi, byte [esi + 1]
and ecx, 0x1f
and edi, 0x3f
cmp dl, 0xdf
jbe 0x101712d8
mov ebx, esi
movzx esi, byte [esi + 2]
shl edi, 6
and esi, 0x3f
or esi, edi
cmp dl, 0xf0
jb 0x1017130c
movzx edx, byte [ebx + 3]
add ebx, 4
shl esi, 6
and ecx, 7
shl ecx, 0x12
and edx, 0x3f
or edx, esi
mov esi, ebx
mov ebx, dword [ebp + 0x10]
or edx, ecx
cmp edx, 0x110000
jne 0x101712f0
jmp 0x10171325
shl ecx, 6
add esi, 2
or ecx, edi
mov edx, ecx
nop word cs:[eax + eax]
nop dword [eax]
cmp edx, 0xd
ja 0x10171260
mov ecx, 0x110000
bt eax, edx
jb 0x10171262
jmp 0x10171260
shl ecx, 0xc
add ebx, 3
or esi, ecx
mov edx, esi
mov esi, ebx
mov ebx, dword [ebp + 0x10]
cmp edx, 0xd
jbe 0x101712f9
jmp 0x10171260
mov dword [ebp - 0x10], 0
push ebx
push esi
push dword [ebp - 0x20]
call fcn.10171400
add esp, 0xc
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
mov eax, dword [ecx + 8]
movsd xmm0, qword [ecx]
movsd xmm3, qword [esi + 0x34]
movsd xmm1, qword [esi + 0x3c]
movsd xmm2, qword [esi]
mov ecx, dword [ebp - 0x28]
mov dword [edx + 0x18], eax
movzx eax, byte [esi + 0x44]
movsd qword [edx + 0x10], xmm0
movsd qword [edx + 0x3c], xmm1
movsd qword [edx + 0x34], xmm3
movups xmm1, xmmword [esi + 0x20]
mov byte [edx + 0x44], al
movsd qword [edx], xmm2
mov dword [edx + 8], 1
mov dword [edx + 0xc], ecx
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x30]
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebp - 0x18]
movups xmmword [edx + 0x20], xmm1
mov dword [edx + 0x30], eax
mov dword fs:[0], ecx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 0x1020dce8
push edi
push 0
push eax
push ebx
call fcn.101cce60
add esp, 0x14
ud2