Function at 0x44d350
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45df02
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x47800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x268], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x250], 0
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x44d3cd
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x224], esi
mov dword [ebp - 4], 0
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x44d3f7
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 1
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x44d41e
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x220], edi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x230], 0x104
push eax
push 0
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x44dccf
test eax, eax
jne 0x44dc6d
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d480
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.0042d9b0
push str.Volatile_Environment
lea edx, [ebp - 0x228]
lea ecx, [ebp - 0x258]
call fcn.0042bd70
add esp, 4
lea ecx, [ebp - 0x238]
push ecx
push 0x20019
push 0
push dword [eax]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x258]
test eax, eax
sete bl
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44d4f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x44dc6d
mov dword [ebp - 0x234], 0x104
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x82
or eax, ecx
jge 0x44d535
push 0x82
lea ecx, [ebp - 0x220]
call fcn.0042d950
mov edi, dword [ebp - 0x220]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x234]
push eax
push edi
lea eax, [ebp - 0x21c]
push eax
push 0
push str.USERDOMAIN
push dword [ebp - 0x238]
call ebx
test eax, eax
jne 0x44d589
push dword [edi - 8]
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x44dcb3
cmp eax, dword [edi - 8]
jg 0x44dcb3
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
jmp 0x44d64e
mov dword [ebp - 0x234], 0x104
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x82
or eax, ecx
jge 0x44d5bd
push 0x82
lea ecx, [ebp - 0x220]
call fcn.0042d950
mov edi, dword [ebp - 0x220]
lea eax, [ebp - 0x234]
push eax
push edi
lea eax, [ebp - 0x21c]
push eax
push 0
push str.LOGONSERVER
push dword [ebp - 0x238]
call ebx
push dword [edi - 8]
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x44dcb3
cmp eax, dword [edi - 8]
jg 0x44dcb3
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
lea eax, [ebp - 0x25c]
push 2
push eax
lea ecx, [ebp - 0x220]
call fcn.0044dd50
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 3
call fcn.0042d300
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x25c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44d648
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x220]
mov dword [ebp - 0x234], 0x104
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x82
or eax, ecx
jge 0x44d682
push 0x82
lea ecx, [ebp - 0x224]
call fcn.0042d950
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x234]
push eax
push esi
lea eax, [ebp - 0x21c]
push eax
push 0
push str.USERNAME
push dword [ebp - 0x238]
call ebx
test eax, eax
jne 0x44d6d0
push dword [esi - 8]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x44dcb3
cmp eax, dword [esi - 8]
jg 0x44dcb3
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
jmp 0x44d7b6
mov dword [ebp - 0x234], 0x104
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x82
or eax, ecx
jge 0x44d704
push 0x82
lea ecx, [ebp - 0x224]
call fcn.0042d950
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x234]
push eax
push esi
lea eax, [ebp - 0x21c]
push eax
push 0
push str.HOMEPATH
push dword [ebp - 0x238]
call ebx
test eax, eax
jne 0x44d7b6
push dword [esi - 8]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x44dcb3
cmp eax, dword [esi - 8]
jg 0x44dcb3
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0x5c
push esi
mov word [esi + eax*2], cx
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 8
test eax, eax
jne 0x44d766
or eax, 0xffffffff
jmp 0x44d76a
sub eax, esi
sar eax, 1
inc eax
lea ecx, [ebp - 0x224]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0044dd50
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 4
call fcn.0042d300
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x260]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44d7b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x224]
mov ebx, dword [ebp - 0x240]
mov ecx, 1
mov dword [ebp - 0x234], 0x104
mov eax, dword [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x82
or eax, ecx
jge 0x44d7e8
push 0x82
mov ecx, ebx
call fcn.0042d950
lea eax, [ebp - 0x234]
push eax
push dword [ebx]
lea eax, [ebp - 0x21c]
push eax
push 0
push str.APPDATA
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov eax, dword [ebx]
jne 0x44d848
test eax, eax
jne 0x44d819
xor ecx, ecx
jmp 0x44d830
push dword [eax - 8]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x44dcb3
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x44dcb3
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebx]
mov word [eax + ecx*2], dx
jmp 0x44d8a2
cmp dword [eax - 0xc], 0
lea edx, [eax - 0x10]
mov ebx, dword [edx]
je 0x44d8a2
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x44d87c
cmp dword [eax - 8], 0
jl 0x44dcb3
mov ecx, dword [ebp - 0x240]
mov dword [eax - 0xc], 0
mov eax, dword [ecx]
xor ecx, ecx
mov word [eax], cx
jmp 0x44d8a2
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x44d890
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x240]
add eax, 0x10
mov dword [ecx], eax
mov ebx, dword [ebp - 0x244]
mov ecx, 1
mov dword [ebp - 0x234], 0x104
mov eax, dword [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x82
or eax, ecx
jge 0x44d8d4
push 0x82
mov ecx, ebx
call fcn.0042d950
lea eax, [ebp - 0x234]
push eax
push dword [ebx]
lea eax, [ebp - 0x21c]
push eax
push 0
push str.LOCALAPPDATA
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44d934
mov eax, dword [ebx]
test eax, eax
jne 0x44d905
xor ecx, ecx
jmp 0x44d91c
push dword [eax - 8]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x44dcb3
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x44dcb3
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebx]
mov word [eax + ecx*2], dx
jmp 0x44d952
push dword [ebp - 0x240]
mov ecx, ebx
call fcn.0042d300
push str.Local_SettingsApplication_Data
push str.Application_Data
mov ecx, ebx
call fcn.0042c0f0
mov ebx, dword [ebp - 0x248]
mov ecx, 1
mov dword [ebp - 0x234], 0x104
mov eax, dword [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x82
or eax, ecx
jge 0x44d984
push 0x82
mov ecx, ebx
call fcn.0042d950
lea eax, [ebp - 0x234]
push eax
push dword [ebx]
lea eax, [ebp - 0x21c]
push eax
push 0
push str.USERPROFILE
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov eax, dword [ebx]
jne 0x44d9e7
test eax, eax
jne 0x44d9b5
xor ecx, ecx
jmp 0x44d9cc
push dword [eax - 8]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x44dcb3
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x44dcb3
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebx]
mov word [eax + ecx*2], dx
jmp 0x44daea
mov dword [ebp - 0x234], 0x104
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x82
or eax, ecx
jge 0x44da11
push 0x82
mov ecx, ebx
call fcn.0042d950
lea eax, [ebp - 0x234]
push eax
push dword [ebx]
lea eax, [ebp - 0x21c]
push eax
push 0
push str.HOMEDRIVE
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44daea
call fcn.0040f730
test eax, eax
je 0x44d3c3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x22c], ebx
mov byte [ebp - 4], 5
mov ecx, 1
mov dword [ebp - 0x234], 0x104
mov eax, dword [ebx - 8]
sub ecx, dword [ebx - 4]
sub eax, 0x82
or eax, ecx
jge 0x44da91
push 0x82
lea ecx, [ebp - 0x22c]
call fcn.0042d950
mov ebx, dword [ebp - 0x22c]
lea eax, [ebp - 0x234]
push eax
push ebx
lea eax, [ebp - 0x21c]
push eax
push 0
push str.HOMEPATH
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44dace
mov eax, dword [ebp - 0x248]
push ebx
push dword [eax]
push 0x4663b0
push eax
call fcn.0042e6b0
add esp, 0x10
mov byte [ebp - 4], 2
add ebx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x44daea
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea edx, [ebp - 0x228]
lea ecx, [ebp - 0x264]
call fcn.0042bd70
add esp, 4
lea ecx, [ebp - 0x23c]
push ecx
push 0x20019
push 0
push dword [eax]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x264]
test eax, eax
sete bl
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44db4d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x44dc0f
mov ebx, dword [ebp - 0x24c]
mov ecx, 1
mov dword [ebp - 0x234], 0x104
mov eax, dword [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x82
or eax, ecx
jge 0x44db87
push 0x82
mov ecx, ebx
call fcn.0042d950
lea eax, [ebp - 0x234]
push eax
push dword [ebx]
lea eax, [ebp - 0x21c]
push eax
push 0
push str.A520A1A4_1780_4FF6_BD18_167343C5AF16
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44dbf3
mov eax, dword [ebx]
test eax, eax
jne 0x44dbb8
xor ecx, ecx
jmp 0x44dbcf
push dword [eax - 8]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x44dcb3
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x44dcb3
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebx]
mov word [eax + ecx*2], dx
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44dc21
mov eax, dword [ebp - 0x244]
mov ecx, ebx
push eax
call fcn.0042d300
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44dc21
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x24c]
push eax
call fcn.0042d300
mov eax, dword [ebp - 0x268]
mov eax, dword [eax]
test eax, eax
je 0x44dc6d
cmp dword [esi - 0xc], 0
jl 0x44dc6d
mov ebx, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
push eax
push esi
call ebx
add esp, 8
test eax, eax
je 0x44dc6d
sub eax, esi
sar eax, 1
jne 0x44dc6d
mov eax, dword [ebp - 0x254]
mov eax, dword [eax]
test eax, eax
je 0x44dc6d
cmp dword [edi - 0xc], 0
jl 0x44dc6d
push eax
push edi
call ebx
add esp, 8
test eax, eax
je 0x44dc6d
sub eax, edi
sar eax, 1
je 0x44dcbd
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x230]
push 0
push 0
push 0
push 0
push ecx
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x230], 0x104
inc eax
push ecx
push eax
push SysReAllocStringLen
mov dword [ebp - 0x250], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x44d468
jmp 0x44dccf
push 0x80070057
call fcn.0041ffc0
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x228]
push eax
call fcn.0042d300
or ebx, 0xffffffff
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x44dced
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44dd0e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x44dd2a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004568f7
mov esp, ebp
pop ebp
ret