Function at 0x4152a0
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 0x49244b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x2690
push ebx
call fcn.0046e9d0
push esi
push edi
push 0x2000
lea eax, [ebp - 0x26a0]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x2c], esi
call fcn.00470f10
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.00402af0
add esp, 0x18
mov ecx, edi
push eax
call fcn.004095f0
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x41538d
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415383
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164d2
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov edx, edi
lea ecx, [ebp - 0x8c]
call fcn.00402440
mov byte [ebp - 4], 1
mov eax, dword [0xb398d4]
test eax, eax
je 0x4153ac
cmp eax, 0xa
jae 0x4153f9
push ecx
push str.ext_ms_
lea ecx, [ebp - 0x8c]
call fcn.00416b20
test eax, eax
jne 0x4153f9
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 fcn.00470990
add esp, 0xc
mov eax, dword [esi + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x41542c
mov edi, dword [ebp - 0x2c]
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
jb 0x415410
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.00416b20
cmp eax, 0xffffffff
jne 0x415429
mov esi, dword [esi]
cmp esi, dword [edi + 4]
jne 0x415405
mov edi, dword [ebx + 8]
mov eax, dword [ebp - 0x2c]
cmp esi, dword [eax + 4]
je 0x415698
mov eax, dword [esi + 0x20]
mov esi, dword [esi + 0x24]
mov dword [ebp - 0x90], eax
cmp eax, esi
je 0x415496
mov edx, dword [ebx + 0xc]
cmp dword [edx + 0x14], 8
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x94], ecx
jb 0x41545c
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 0x415473
mov edi, dword [eax]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebx + 8]
cmp ecx, dword [ebp - 0x94]
jne 0x415499
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0040aff0
add esp, 4
test eax, eax
lea eax, [esi - 0x18]
je 0x415499
mov eax, dword [ebp - 0x90]
jmp 0x415499
mov eax, dword [ebx + 0xc]
cmp edi, eax
je 0x4154b1
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4154a8
mov eax, dword [eax]
push ecx
push eax
mov ecx, edi
call fcn.00402f30
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push edi
call fcn.00416510
mov esi, eax
test esi, esi
jns 0x41640e
cmp esi, 0xc015001d
je 0x41640e
test byte [ebx + 0x14], 2
je 0x415691
push 0x1fe
lea eax, [ebp - 0x2a0]
push 0
push eax
call fcn.00470f10
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 0x415522
sub ecx, edx
lea eax, [ebp - 0x2a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402f30
push 1
push 0x4abacc
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00417500
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 0x415594
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00417500
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.004095f0
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x415609
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4155ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164d7
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x415643
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415639
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164d7
push edx
push ecx
call fcn.0046d4cf
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 0x415691
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415687
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164d7
push edx
push ecx
call fcn.0046d4cf
add esp, 8
xor esi, esi
jmp 0x41640e
test byte [ebx + 0x14], 1
je 0x4156a8
mov esi, 0xc0000225
jmp 0x41640e
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push edi
call fcn.00416510
mov esi, eax
test esi, esi
jns 0x41640e
cmp esi, 0xc015001d
je 0x41640e
test byte [ebx + 0x14], 4
je 0x4156da
mov esi, 0xc0000225
jmp 0x41640e
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4156e4
mov eax, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call esi
cmp eax, 0xffffffff
je 0x4156f9
xor esi, esi
jmp 0x41640e
mov dword [ebp - 0x98], 0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 4
push eax
push 0x4abad0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4159c6
xor esi, esi
test eax, eax
jne 0x4159c0
push 0x1fe
push eax
lea eax, [ebp - 0x6a0]
push eax
call fcn.00470f10
add esp, 0xc
lea eax, [ebp - 0x2a0]
push 0x1fe
push 0
push eax
call fcn.00470f10
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 fcn.0047f265
add esp, 8
test eax, eax
jne 0x4159ad
push 0x1fe
push eax
lea eax, [ebp - 0x4a0]
push eax
call fcn.00470f10
add esp, 0xc
mov dword [ebp - 0x2c], 0xff
test byte [ebx + 0x14], 8
lea eax, [ebp - 0x4a0]
push 0xff
push eax
je 0x4157fd
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x415803
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [ebp - 0x94]
test eax, eax
jne 0x4159b3
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 + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415830
sub ecx, edx
lea eax, [ebp - 0x4a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402f30
push 1
push str._
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.00417500
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 0x4158a1
sub ecx, edx
lea eax, [ebp - 0x2a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00417500
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.004095f0
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x415929
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41591f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164dc
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x415963
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415959
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164dc
push edx
push ecx
call fcn.0046d4cf
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 0x4164aa
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4159e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164dc
jmp 0x4159e6
mov eax, dword [ebp - 0x94]
inc esi
cmp esi, 0x1000
jl 0x415728
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x415af7
mov eax, 0x7ffffffe
sub eax, edx
cmp eax, 1
jb 0x4164e1
jmp 0x4159f7
push edx
push ecx
call fcn.0046d4cf
add esp, 8
xor esi, esi
jmp 0x4163fd
cmp dword [ecx + 0x14], 8
jb 0x4159ff
mov ecx, dword [ecx]
push 1
push 0x4abb4c
push edx
push ecx
push ecx
push dword [ebp - 0x90]
lea ecx, [ebp - 0x5c]
call fcn.00417460
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.00417500
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.004095f0
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x415aa2
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415a98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164e6
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x415ae0
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415ad6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164e6
push edx
push ecx
call fcn.0046d4cf
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 0x416490
mov eax, dword [ebx + 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x5c]
push eax
call fcn.004168f0
push 1
push 0x4abb50
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00417500
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.00417500
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.004095f0
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x415bd5
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415bcb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164eb
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x415c13
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415c09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164eb
push edx
push ecx
call fcn.0046d4cf
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 0x415c65
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415c5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164eb
push edx
push ecx
call fcn.0046d4cf
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 0x416490
test byte [ebx + 0x14], 8
lea eax, [ebp - 0x26a0]
push 0x1000
push eax
je 0x415c96
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x415c9c
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]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415cc0
sub ecx, edx
lea eax, [ebp - 0x26a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402f30
push 1
push 0x4abb54
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xa
call fcn.00417500
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.00417500
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.004095f0
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x415daf
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415da5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164f0
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x415ded
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415de3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164f0
push edx
push ecx
call fcn.0046d4cf
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 0x415e3f
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415e35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164f0
push edx
push ecx
call fcn.0046d4cf
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 0x416490
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 0x415e85
sub ecx, edx
lea eax, [ebp - 0x26a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402f30
push 1
push 0x4abb58
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
call fcn.00417500
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.00417500
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.004095f0
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x415f74
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415f6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164f5
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x415fb2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415fa8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164f5
push edx
push ecx
call fcn.0046d4cf
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 0x416004
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415ffa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164f5
push edx
push ecx
call fcn.0046d4cf
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 0x416490
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]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416050
sub ecx, edx
lea eax, [ebp - 0x26a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402f30
push 1
push 0x4abb5c
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xe
call fcn.00417500
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.00417500
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.004095f0
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x41613f
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416135
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164fa
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41617d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416173
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164fa
push edx
push ecx
call fcn.0046d4cf
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 0x4161cf
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4161c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164fa
push edx
push ecx
call fcn.0046d4cf
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 0x416490
push 0x1000
lea eax, [ebp - 0x26a0]
push eax
push 0x4abb60
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x26a0]
push 0x4abb6c
push eax
call fcn.0047f485
mov edx, eax
add esp, 0xc
test edx, edx
je 0x4163f8
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 + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416240
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.00402f30
push 1
push 0x4abb74
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x10
call fcn.00417500
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.00417500
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.004095f0
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x416329
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41631f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164d2
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x416367
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41635d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164d2
push edx
push ecx
call fcn.0046d4cf
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 0x4163b9
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4163af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164d2
push edx
push ecx
call fcn.0046d4cf
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 0x416490
lea eax, [ebp - 0x9c]
push eax
push 0x4abb70
push dword [ebp - 0x9c]
call fcn.0047f485
mov edx, eax
add esp, 0xc
test edx, edx
jne 0x416222
mov esi, 0xc0000225
mov eax, dword [ebp - 0x98]
test eax, eax
jle 0x41640e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x41644b
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416441
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164ff
push edx
push ecx
call fcn.0046d4cf
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 0x4164bb
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4164b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164ff
jmp 0x4164b1
lea eax, [ebp - 0x44]
cmp edi, eax
je 0x4164aa
cmp dword [ebp - 0x30], 8
mov ecx, edi
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.00402f30
xor esi, esi
jmp 0x4163fd
push edx
push ecx
call fcn.0046d4cf
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.00472aca
call fcn.00472aca
call fcn.00472aca
call fcn.004021f0
call fcn.00472aca
call fcn.00472aca
call fcn.00472aca
call fcn.00472aca
call fcn.00472aca
call fcn.00472aca
int3