Function at 0x100110e0
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query environment variable
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003742b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x2690
push ebx
call fcn.100361c0
push esi
push edi
push 0x2000
lea eax, [ebp - 0x26a0]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x2c], esi
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov edi, dword [ebx + 8]
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], eax
sub esp, 0xc
mov eax, esp
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [edi]
movups xmmword [eax], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
call fcn.1000a5c0
add esp, 0x18
mov ecx, edi
push eax
call fcn.10007640
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x100111cf
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100111c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100111c5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10035360
add esp, 8
mov edx, edi
lea ecx, [ebp - 0x8c]
call fcn.10009f10
mov byte [ebp - 4], 1
mov eax, dword [0x1056c1fc]
test eax, eax
je 0x100111ee
cmp eax, 0xa
jae 0x1001123b
push ecx
push str.ext_ms_
lea ecx, [ebp - 0x8c]
call fcn.10012920
test eax, eax
jne 0x1001123b
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x8c]
mov edx, 4
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x78], 8
cmovae ecx, dword [ebp - 0x8c]
sub eax, edx
mov dword [ebp - 0x7c], eax
lea eax, [eax*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, dword [esi + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x1001126e
mov edi, dword [ebp - 0x2c]
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
jb 0x10011252
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.10012920
cmp eax, 0xffffffff
jne 0x1001126b
mov esi, dword [esi]
cmp esi, dword [edi + 4]
jne 0x10011247
mov edi, dword [ebx + 8]
mov eax, dword [ebp - 0x2c]
cmp esi, dword [eax + 4]
je 0x100114d8
mov eax, dword [esi + 0x20]
mov esi, dword [esi + 0x24]
mov dword [ebp - 0x90], eax
cmp eax, esi
je 0x100112d8
mov edx, dword [ebx + 0xc]
cmp dword [edx + 0x14], 8
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x94], ecx
jb 0x1001129e
mov edx, dword [edx]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x2c], eax
jb 0x100112b5
mov edi, dword [eax]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebx + 8]
cmp ecx, dword [ebp - 0x94]
jne 0x100112db
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.10009320
add esp, 4
test eax, eax
lea eax, [esi - 0x18]
je 0x100112db
mov eax, dword [ebp - 0x90]
jmp 0x100112db
mov eax, dword [ebx + 0xc]
cmp edi, eax
je 0x100112f3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x100112ea
mov eax, dword [eax]
push ecx
push eax
mov ecx, edi
call fcn.100078a0
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push edi
call fcn.10012310
mov esi, eax
test esi, esi
jns 0x1001223f
cmp esi, 0xc015001d
je 0x1001223f
test byte [ebx + 0x14], 2
je 0x100114d1
push 0x1fe
lea eax, [ebp - 0x2a0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2a0]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011364
sub ecx, edx
lea eax, [ebp - 0x2a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.100078a0
push 1
push 0x1003ba54
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.10013300
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 3
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x100113d6
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10013300
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
mov ecx, edi
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x74]
push eax
movq qword [ebp - 0x64], xmm0
call fcn.10007640
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x1001144b
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011441
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100114c1
push edx
push ecx
call fcn.10035360
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10011481
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011477
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100114c1
push edx
push ecx
call fcn.10035360
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x100114d1
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100114c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100114c7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10035360
add esp, 8
xor esi, esi
jmp 0x1001223f
test byte [ebx + 0x14], 1
je 0x100114e8
mov esi, 0xc0000225
jmp 0x1001223f
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push edi
call fcn.10012310
mov esi, eax
test esi, esi
jns 0x1001223f
cmp esi, 0xc015001d
je 0x1001223f
test byte [ebx + 0x14], 4
je 0x1001151a
mov esi, 0xc0000225
jmp 0x1001223f
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x10011524
mov eax, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call esi
cmp eax, 0xffffffff
je 0x10011539
xor esi, esi
jmp 0x1001223f
mov dword [ebp - 0x98], 0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 4
push eax
push 0x1003ba58
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x10011802
xor esi, esi
test eax, eax
jne 0x100117fc
push 0x1fe
push eax
lea eax, [ebp - 0x6a0]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2a0]
push 0x1fe
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2c], 0xff
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x90], 0
push eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x90]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x6a0]
push eax
push esi
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp dword [ebp - 0x78], 8
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x100117e9
push 0x1fe
push eax
lea eax, [ebp - 0x4a0]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2c], 0xff
test byte [ebx + 0x14], 8
lea eax, [ebp - 0x4a0]
push 0xff
push eax
je 0x1001163e
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x10011644
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [ebp - 0x94]
test eax, eax
jne 0x100117ef
lea ecx, [ebp - 0x4a0]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 7
lea edx, [ecx + 2]
mov word [ebp - 0x5c], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011670
sub ecx, edx
lea eax, [ebp - 0x4a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.100078a0
push 1
push 0x1003bad0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.10013300
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 6
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100116e1
sub ecx, edx
lea eax, [ebp - 0x2a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10013300
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
mov ecx, edi
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x74]
push eax
movq qword [ebp - 0x64], xmm0
call fcn.10007640
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x10011769
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001175f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100117e3
push edx
push ecx
call fcn.10035360
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001179f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011795
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100117e3
push edx
push ecx
call fcn.10035360
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x100122db
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011822
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10011822
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x94]
inc esi
cmp esi, 0x1000
jl 0x10011568
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x10011931
mov eax, 0x7ffffffe
sub eax, edx
cmp eax, 1
jb 0x10012303
jmp 0x10011833
push edx
push ecx
call fcn.10035360
add esp, 8
xor esi, esi
jmp 0x1001222e
cmp dword [ecx + 0x14], 8
jb 0x1001183b
mov ecx, dword [ecx]
push 1
push 0x1003bad4
push edx
push ecx
push ecx
push dword [ebp - 0x90]
lea ecx, [ebp - 0x5c]
call fcn.10013260
mov byte [ebp - 4], 7
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x7c]
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.10013300
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x44]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x74]
push eax
movq qword [ebp - 0x64], xmm0
call fcn.10007640
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x100118da
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100118d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001190a
push edx
push ecx
call fcn.10035360
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x1001191a
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011910
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10011910
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10035360
add esp, 8
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call esi
cmp eax, 0xffffffff
jne 0x100122c1
mov eax, dword [ebx + 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x5c]
push eax
call fcn.100126f0
push 1
push 0x1003bad8
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.10013300
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x7c]
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.10013300
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x44]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x74]
push eax
movq qword [ebp - 0x64], xmm0
call fcn.10007640
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x10011a0f
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011a05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011a8d
push edx
push ecx
call fcn.10035360
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10011a49
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011a3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011a8d
push edx
push ecx
call fcn.10035360
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x10011a9d
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011a93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10011a93
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10035360
add esp, 8
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call esi
cmp eax, 0xffffffff
jne 0x100122c1
test byte [ebx + 0x14], 8
lea eax, [ebp - 0x26a0]
push 0x1000
push eax
je 0x10011ace
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x10011ad4
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x26a0]
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011af1
sub ecx, edx
lea eax, [ebp - 0x26a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.100078a0
push 1
push 0x1003badc
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xa
call fcn.10013300
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x7c]
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.10013300
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x44]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x74]
push eax
movq qword [ebp - 0x64], xmm0
call fcn.10007640
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x10011be0
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011bd6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011c5e
push edx
push ecx
call fcn.10035360
add esp, 8
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10011c1a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011c10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011c5e
push edx
push ecx
call fcn.10035360
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x10011c6e
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011c64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10011c64
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10035360
add esp, 8
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call esi
cmp eax, 0xffffffff
jne 0x100122c1
push 0x1000
lea eax, [ebp - 0x26a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor eax, eax
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x26a0]
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011cb4
sub ecx, edx
lea eax, [ebp - 0x26a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.100078a0
push 1
push 0x1003bae0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
call fcn.10013300
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x7c]
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.10013300
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x44]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x74]
push eax
movq qword [ebp - 0x64], xmm0
call fcn.10007640
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x10011da3
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011d99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011e21
push edx
push ecx
call fcn.10035360
add esp, 8
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10011ddd
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011dd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011e21
push edx
push ecx
call fcn.10035360
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x10011e31
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011e27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10011e27
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10035360
add esp, 8
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call esi
cmp eax, 0xffffffff
jne 0x100122c1
lea eax, [ebp - 0x26a0]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x26a0]
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011e77
sub ecx, edx
lea eax, [ebp - 0x26a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.100078a0
push 1
push 0x1003bae4
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xe
call fcn.10013300
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x7c]
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.10013300
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x44]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x74]
push eax
movq qword [ebp - 0x64], xmm0
call fcn.10007640
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x10011f66
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011f5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011fe4
push edx
push ecx
call fcn.10035360
add esp, 8
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10011fa0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011f96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011fe4
push edx
push ecx
call fcn.10035360
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x10011ff4
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011fea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10011fea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10035360
add esp, 8
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call esi
cmp eax, 0xffffffff
jne 0x100122c1
push 0x1000
lea eax, [ebp - 0x26a0]
push eax
push 0x1003bae8
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x26a0]
push 0x1003baf4
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
mov edx, eax
add esp, 0xc
test edx, edx
je 0x10012229
nop dword [eax + eax]
mov ecx, edx
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10012070
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.100078a0
push 1
push 0x1003bafc
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x10
call fcn.10013300
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x7c]
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.10013300
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x44]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x74]
push eax
movq qword [ebp - 0x64], xmm0
call fcn.10007640
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x10012159
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001214f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100111bf
push edx
push ecx
call fcn.10035360
add esp, 8
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10012197
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001218d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100111bf
push edx
push ecx
call fcn.10035360
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x100121e9
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100121df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100111bf
push edx
push ecx
call fcn.10035360
add esp, 8
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100122c1
lea eax, [ebp - 0x9c]
push eax
push 0x1003baf8
push dword [ebp - 0x9c]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
mov edx, eax
add esp, 0xc
test edx, edx
jne 0x10012050
mov esi, 0xc0000225
mov eax, dword [ebp - 0x98]
test eax, eax
jle 0x1001223f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x10012278
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001226e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100122bb
push edx
push ecx
call fcn.10035360
add esp, 8
mov edx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
cmp edx, 8
jb 0x100122ec
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100122e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100122e2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, [ebp - 0x44]
cmp edi, eax
je 0x100122db
cmp dword [ebp - 0x30], 8
mov ecx, edi
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.100078a0
xor esi, esi
jmp 0x1001222e
push edx
push ecx
call fcn.10035360
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
call fcn.10001180
int3