Function at 0x4044e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4099fe
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x40d004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x48], 0
push 0x40
push str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionApp_Paths_
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.004067b0
mov dword [ebp - 4], 1
mov eax, 0x7fffffff
mov ecx, dword [ebp - 0x20]
sub eax, ecx
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edi
cmp eax, edi
jb 0x404811
cmp dword [ebp - 0x1c], 0x10
lea edx, [ebp - 0x30]
cmovae edx, dword [ebp - 0x30]
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x44], edx
jb 0x404585
mov esi, dword [esi]
mov dword [ebp - 0x34], esi
add ecx, edi
mov esi, 0xf
mov dword [ebp - 0x3c], ecx
xorps xmm0, xmm0
lea edi, [ebp - 0x60]
movups xmmword [ebp - 0x60], xmm0
cmp ecx, esi
jbe 0x404616
mov esi, ecx
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x4045d9
mov ecx, 0x80000000
mov esi, 0x7fffffff
add ecx, 0x23
push ecx
call fcn.0040876f
add esp, 4
test eax, eax
je 0x4047e4
mov ecx, dword [ebp - 0x3c]
lea edi, [eax + 0x23]
mov edx, dword [ebp - 0x44]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x404613
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x4045fa
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x404816
jmp 0x4045b7
test eax, eax
je 0x404611
push eax
call fcn.0040876f
mov ecx, dword [ebp - 0x3c]
add esp, 4
mov edx, dword [ebp - 0x44]
mov edi, eax
jmp 0x404613
xor edi, edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x4c], esi
mov esi, dword [ebp - 0x18]
push esi
push edx
push edi
mov dword [ebp - 0x50], ecx
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0x14]
lea eax, [edi + esi]
push dword [ebp - 0x34]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
add esp, 0x18
mov byte [edi + eax], 0
lea eax, [ebp - 0x60]
push eax
call fcn.00405a70
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x404680
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404676
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4047e4
push ecx
push edx
call fcn.0040879f
add esp, 8
mov esi, dword [ebp - 0x40]
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
xorps xmm0, xmm0
cmovae eax, dword [ebp - 0x30]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x48], 3
push ecx
push 0x20019
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4047be
lea eax, [ebp - 0x34]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push str.Path
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4047b5
mov esi, dword [ebp - 0x34]
inc esi
push esi
call fcn.004087ad
push esi
mov edi, eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x48], 7
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push str.Path
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4047a9
mov ecx, edi
mov dword [ebp - 0x50], eax
xorps xmm0, xmm0
mov dword [ebp - 0x4c], eax
movups xmmword [ebp - 0x60], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404750
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x60]
call fcn.004067b0
mov esi, dword [ebp - 0x40]
lea eax, [ebp - 0x60]
push eax
mov ecx, esi
call fcn.00405a70
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x4047ac
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40479d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40479d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040879f
add esp, 8
jmp 0x4047ac
mov esi, dword [ebp - 0x40]
push edi
call fcn.0040876a
add esp, 4
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x4047f4
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4047ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4047ea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040879f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040875c
mov esp, ebp
pop ebp
ret
call fcn.00401160
call fcn.004010c0
int3