Function at 0x10170c70
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], 0x10171a20
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 0x10170ccb
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 0x14]
test edi, edi
mov dword [ebp - 0x24], ebx
je 0x10170cd6
mov eax, dword [esi + 0x18]
cmp edi, eax
jae 0x10170cda
cmp byte [ebx + edi], 0xbf
jg 0x10170ce0
jmp 0x10170ef7
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x18]
mov dword [ebp - 0x24], eax
jmp 0x10170ce0
xor edi, edi
jmp 0x10170ce0
jne 0x10170ef7
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 0x10170d26
mov dword [ebp - 0x10], 0
push 1
push 1
push ecx
push ebx
push edx
call fcn.101c6270
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 0x10170d2c
mov dword [ebp - 0x2c], esi
jmp 0x10170d4d
mov ecx, ebx
cmp eax, edi
jae 0x10170d21
mov dword [ebp - 0x10], 0
push 1
push 1
push edi
push ecx
push edx
call fcn.101c6270
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 0x10170d8e
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x10], 0
push eax
call fcn.1000c870
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 0x10170dbe
mov ecx, edx
cmp ecx, 0x110000
jne 0x10170e75
cmp esi, ebx
je 0x10170e75
movzx edx, byte [esi]
movzx ecx, dl
test dl, dl
js 0x10170de0
inc esi
mov edx, ecx
cmp edx, 0xd
jbe 0x10170e49
jmp 0x10170db0
movzx edi, byte [esi + 1]
and ecx, 0x1f
and edi, 0x3f
cmp dl, 0xdf
jbe 0x10170e28
mov ebx, esi
movzx esi, byte [esi + 2]
shl edi, 6
and esi, 0x3f
or esi, edi
cmp dl, 0xf0
jb 0x10170e5c
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 0x10170e40
jmp 0x10170e75
shl ecx, 6
add esi, 2
or ecx, edi
mov edx, ecx
nop word cs:[eax + eax]
nop dword [eax]
cmp edx, 0xd
ja 0x10170db0
mov ecx, 0x110000
bt eax, edx
jb 0x10170db2
jmp 0x10170db0
shl ecx, 0xc
add ebx, 3
or esi, ecx
mov edx, esi
mov esi, ebx
mov ebx, dword [ebp + 0x10]
cmp edx, 0xd
jbe 0x10170e49
jmp 0x10170db0
mov dword [ebp - 0x10], 0
push ebx
push esi
push dword [ebp - 0x20]
call fcn.10170f50
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 0x1020e1c8
push edi
push 0
push eax
push ebx
call fcn.101ccb20
add esp, 0x14
ud2