Function at 0x10018ee0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov esi, ecx
mov ecx, dword [esp + 0x34]
mov edi, dword [esi]
mov eax, dword [edi + 4]
xor ebx, ebx
cmp byte [eax + 0xd], 0
mov dword [esp + 0xc], edi
je 0x10018daf
mov ebp, eax
cmp byte [edi + 0xd], 0
jne 0x10018e8d
jmp 0x10018e34
mov dword [esp + 4], esi
cmp dword [ecx + 0x14], 0x10
mov dword [esp], ecx
jb 0x10018dc1
mov edx, dword [ecx]
mov dword [esp], edx
mov esi, dword [ecx + 0x10]
jmp 0x10018e02
push ecx
push dword [esp + 4]
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
xor edx, edx
cmp ebx, esi
setb dl
xor ecx, ecx
test eax, eax
sets cl
cmove ecx, edx
lea eax, [ebp + 8]
test cl, cl
cmove edi, ebp
cmove eax, ebp
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
jne 0x10018e20
mov ebp, eax
cmp dword [eax + 0x24], 0x10
jb 0x10018e10
mov eax, dword [ebp + 0x10]
jmp 0x10018e13
lea eax, [ebp + 0x10]
mov ebx, dword [ebp + 0x20]
mov ecx, esi
cmp esi, ebx
jb 0x10018dd0
mov ecx, ebx
jmp 0x10018dd0
xor cl, 1
movzx ebx, cl
mov esi, dword [esp + 4]
mov ecx, dword [esp + 0x34]
cmp byte [edi + 0xd], 0
jne 0x10018e8d
cmp dword [edi + 0x24], 0x10
mov dword [esp + 4], esi
mov dword [esp], ebx
jb 0x10018e46
mov eax, dword [edi + 0x10]
jmp 0x10018e49
lea eax, [edi + 0x10]
mov esi, dword [edi + 0x20]
mov ebx, dword [ecx + 0x10]
cmp dword [ecx + 0x14], 0x10
jb 0x10018e57
mov ecx, dword [ecx]
cmp esi, ebx
mov edx, ebx
cmovb edx, esi
push edx
push eax
push ecx
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
xor ecx, ecx
cmp ebx, esi
setae cl
xor edx, edx
test eax, eax
setns dl
cmove edx, ecx
test dl, dl
mov esi, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp]
je 0x10018e8d
xor ecx, ecx
jmp 0x10018ec8
cmp dword [esi + 4], 0x4924924
je 0x10018edb
mov dword [esp + 0x10], ecx
lea eax, [esp + 0xb]
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edx
push 0x101451d4
push dword [esp + 0x18]
push esi
call 0x10018ee0
mov ecx, esi
push dword [esp + 0x18]
push ebx
push ebp
call fcn.100190b0
mov edi, eax
mov cl, 1
mov eax, dword [esp + 0x30]
mov dword [eax], edi
mov byte [eax + 4], cl
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.100192a0
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea esi, [ebp - 0x18]
mov dword [ebp - 0x14], 0x100201b0
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], esi
mov dword [ecx], eax
mov dword [ebp - 0x20], ecx
mov dword [ecx + 4], 0
mov dword [ebp - 0x10], 0
push 0x38
call fcn.100e80cd
add esp, 4
mov esi, eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], esi
mov edx, dword [eax]
vxorps xmm0, xmm0, xmm0
vmovups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov edi, dword [edx + 0x10]
cmp dword [edx + 0x14], 0x10
mov eax, ecx
jb 0x10018f5f
mov edx, dword [edx]
test edi, edi
js 0x10019043
cmp edi, 0xf
ja 0x10018f87
mov ecx, esi
add ecx, 0x10
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0xf
vmovups xmm0, xmmword [edx]
vmovups xmmword [ecx], xmm0
mov edx, esi
jmp 0x10019005
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], edi
mov eax, edi
or eax, 0xf
cmp eax, 0x17
mov ecx, 0x16
cmovae ecx, eax
cmp ecx, 0xfff
mov dword [ebp - 0x30], ecx
jb 0x10018fcb
lea eax, [ecx + 0x24]
mov dword [ebp - 0x10], 1
push eax
call fcn.100e80cd
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x10018fde
lea eax, [ecx + 1]
mov dword [ebp - 0x10], 1
push eax
call fcn.100e80cd
add esp, 4
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [esi + 0x10], eax
mov dword [esi + 0x20], edx
mov edi, dword [ebp - 0x30]
mov dword [esi + 0x24], edi
inc edx
push edx
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 4]
mov ecx, dword [ebp + 0xc]
mov byte [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov dword [edx], ecx
mov edx, dword [eax + 4]
mov dword [edx + 4], ecx
mov edx, dword [eax + 4]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 4]
mov byte [ecx + 0xc], 0
mov ecx, dword [eax + 4]
mov byte [ecx + 0xd], 0
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov dword [ebp - 0x10], 1
call fcn.10017450
nop
push ebp
sub esp, 0xc
add ebp, 0xc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
test eax, eax
je 0x1001906c
push 0x38
push eax
call fcn.100e81b0
add esp, 8
add esp, 0xc
pop ebp
ret