Function at 0x10018b30
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 0x100189ff
mov ebp, eax
cmp byte [edi + 0xd], 0
jne 0x10018add
jmp 0x10018a84
mov dword [esp + 4], esi
cmp dword [ecx + 0x14], 0x10
mov dword [esp], ecx
jb 0x10018a11
mov edx, dword [ecx]
mov dword [esp], edx
mov esi, dword [ecx + 0x10]
jmp 0x10018a52
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 0x10018a70
mov ebp, eax
cmp dword [eax + 0x24], 0x10
jb 0x10018a60
mov eax, dword [ebp + 0x10]
jmp 0x10018a63
lea eax, [ebp + 0x10]
mov ebx, dword [ebp + 0x20]
mov ecx, esi
cmp esi, ebx
jb 0x10018a20
mov ecx, ebx
jmp 0x10018a20
xor cl, 1
movzx ebx, cl
mov esi, dword [esp + 4]
mov ecx, dword [esp + 0x34]
cmp byte [edi + 0xd], 0
jne 0x10018add
cmp dword [edi + 0x24], 0x10
mov dword [esp + 4], esi
mov dword [esp], ebx
jb 0x10018a96
mov eax, dword [edi + 0x10]
jmp 0x10018a99
lea eax, [edi + 0x10]
mov esi, dword [edi + 0x20]
mov ebx, dword [ecx + 0x10]
cmp dword [ecx + 0x14], 0x10
jb 0x10018aa7
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 0x10018add
xor ecx, ecx
jmp 0x10018b18
cmp dword [esi + 4], 0x4924924
je 0x10018b2b
mov dword [esp + 0x10], ecx
lea eax, [esp + 0xb]
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edx
push 0x10146e44
push dword [esp + 0x18]
push esi
call 0x10018b30
mov ecx, esi
push dword [esp + 0x18]
push ebx
push ebp
call fcn.10018d00
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.10018ef0
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], 0x10020920
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.100e9fad
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]
xorps xmm0, xmm0
movups 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 0x10018bad
mov edx, dword [edx]
test edi, edi
js 0x10018c8f
cmp edi, 0xf
ja 0x10018bd3
mov ecx, esi
add ecx, 0x10
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0xf
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
mov edx, esi
jmp 0x10018c51
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 0x10018c17
lea eax, [ecx + 0x24]
mov dword [ebp - 0x10], 1
push eax
call fcn.100e9fad
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x10018c2a
lea eax, [ecx + 1]
mov dword [ebp - 0x10], 1
push eax
call fcn.100e9fad
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.10018f00
nop dword [eax + eax]
push ebp
sub esp, 0xc
add ebp, 0xc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
test eax, eax
je 0x10018cbc
push 0x38
push eax
call fcn.100ea090
add esp, 8
add esp, 0xc
pop ebp
ret