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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dbb2
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x570be0]
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 - 0x260], edx
mov dword [ebp - 0x258], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x244], eax
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
mov dword [ebp - 0x248], 0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 4], 0
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 1
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x228], edi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
mov byte [ebp - 4], 2
push SysStringLen
mov dword [ebp - 0x23c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x4448b4
test eax, eax
jne 0x444856
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x444062
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x238]
call fcn.00420c80
push str.Volatile_Environment
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x25c]
call fcn.00424450
add esp, 4
lea ecx, [ebp - 0x220]
push ecx
push 0x20019
push 0
push dword [eax]
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x25c]
test eax, eax
sete bl
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4440dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x444856
mov dword [ebp - 0x21c], 0x104
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x82
or eax, ecx
jge 0x444119
push 0x82
lea ecx, [ebp - 0x228]
call fcn.004206e0
mov edi, dword [ebp - 0x228]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x21c]
push eax
push edi
lea eax, [ebp - 0x224]
push eax
push 0
push str.USERDOMAIN
push dword [ebp - 0x220]
call ebx
test eax, eax
jne 0x44416c
push dword [edi - 8]
push edi
call fcn.004e71b4
add esp, 8
test eax, eax
js 0x44489c
cmp eax, dword [edi - 8]
jg 0x44489c
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
jmp 0x444286
mov dword [ebp - 0x21c], 0x104
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x82
or eax, ecx
jge 0x4441a0
push 0x82
lea ecx, [ebp - 0x228]
call fcn.004206e0
mov edi, dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push eax
push edi
lea eax, [ebp - 0x224]
push eax
push 0
push str.LOGONSERVER
push dword [ebp - 0x220]
call ebx
push dword [edi - 8]
push edi
call fcn.004e71b4
add esp, 8
test eax, eax
js 0x44489c
cmp eax, dword [edi - 8]
jg 0x44489c
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
push 2
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x228]
call fcn.00444940
mov byte [ebp - 4], 3
mov edx, dword [eax]
lea ebx, [edi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x44425c
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x444247
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x444247
call fcn.00420750
mov dword [ebp - 0x230], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x44423c
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x230]
lea edi, [eax + 0x10]
mov dword [ebp - 0x228], edi
jmp 0x44425c
push dword [edx - 0xc]
lea ecx, [ebp - 0x228]
push edx
call fcn.00420c80
mov edi, dword [ebp - 0x228]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x444280
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x21c], 0x104
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x82
or eax, ecx
jge 0x4442ba
push 0x82
lea ecx, [ebp - 0x22c]
call fcn.004206e0
mov esi, dword [ebp - 0x22c]
lea eax, [ebp - 0x21c]
push eax
push esi
lea eax, [ebp - 0x224]
push eax
push 0
push str.USERNAME
push dword [ebp - 0x220]
call ebx
test eax, eax
jne 0x444307
push dword [esi - 8]
push esi
call fcn.004e71b4
add esp, 8
test eax, eax
js 0x44489c
cmp eax, dword [esi - 8]
jg 0x44489c
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
jmp 0x4443ed
mov dword [ebp - 0x21c], 0x104
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x82
or eax, ecx
jge 0x44433b
push 0x82
lea ecx, [ebp - 0x22c]
call fcn.004206e0
mov esi, dword [ebp - 0x22c]
lea eax, [ebp - 0x21c]
push eax
push esi
lea eax, [ebp - 0x224]
push eax
push 0
push str.HOMEPATH
push dword [ebp - 0x220]
call ebx
test eax, eax
jne 0x4443ed
push dword [esi - 8]
push esi
call fcn.004e71b4
add esp, 8
test eax, eax
js 0x44489c
cmp eax, dword [esi - 8]
jg 0x44489c
xor ecx, ecx
push 0x5c
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], cx
call fcn.004eb420
add esp, 8
test eax, eax
jne 0x44439b
or eax, 0xffffffff
jmp 0x44439f
sub eax, esi
sar eax, 1
inc eax
push eax
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00444940
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 4
call fcn.00421fc0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x254]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4443e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x21c], 0x104
mov eax, dword [edx]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x82
or eax, ecx
jge 0x444425
push 0x82
mov ecx, edx
call fcn.004206e0
mov edx, dword [ebp - 0x234]
lea eax, [ebp - 0x21c]
push eax
push dword [edx]
lea eax, [ebp - 0x224]
push eax
push 0
push str.APPDATA
push dword [ebp - 0x220]
call ebx
test eax, eax
jne 0x444486
mov ebx, dword [ebp - 0x234]
mov eax, dword [ebx]
test eax, eax
jne 0x444458
xor ecx, ecx
jmp 0x44446e
push dword [eax - 8]
push eax
call fcn.004e71b4
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x44489c
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x44489c
mov dword [eax - 0xc], ecx
mov eax, dword [ebx]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x444491
mov ecx, dword [ebp - 0x234]
call fcn.00420390
mov ebx, dword [ebp - 0x240]
mov dword [ebp - 0x21c], 0x104
mov eax, dword [ebx]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x82
or eax, ecx
jge 0x4444c3
push 0x82
mov ecx, ebx
call fcn.004206e0
lea eax, [ebp - 0x21c]
push eax
push dword [ebx]
lea eax, [ebp - 0x224]
push eax
push 0
push str.LOCALAPPDATA
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x444522
mov eax, dword [ebx]
test eax, eax
jne 0x4444f4
xor ecx, ecx
jmp 0x44450a
push dword [eax - 8]
push eax
call fcn.004e71b4
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x44489c
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x44489c
mov dword [eax - 0xc], ecx
mov eax, dword [ebx]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x444540
push dword [ebp - 0x234]
mov ecx, ebx
call fcn.00421fc0
push str.Local_SettingsApplication_Data
push str.Application_Data
mov ecx, ebx
call fcn.00421c00
mov ebx, dword [ebp - 0x244]
mov dword [ebp - 0x21c], 0x104
mov eax, dword [ebx]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x82
or eax, ecx
jge 0x444572
push 0x82
mov ecx, ebx
call fcn.004206e0
lea eax, [ebp - 0x21c]
push eax
push dword [ebx]
lea eax, [ebp - 0x224]
push eax
push 0
push str.USERPROFILE
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov eax, dword [ebx]
jne 0x4445d4
test eax, eax
jne 0x4445a3
xor ecx, ecx
jmp 0x4445b9
push dword [eax - 8]
push eax
call fcn.004e71b4
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x44489c
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x44489c
mov dword [eax - 0xc], ecx
mov eax, dword [ebx]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x4446d2
mov dword [ebp - 0x21c], 0x104
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x82
or eax, ecx
jge 0x4445fe
push 0x82
mov ecx, ebx
call fcn.004206e0
lea eax, [ebp - 0x21c]
push eax
push dword [ebx]
lea eax, [ebp - 0x224]
push eax
push 0
push str.HOMEDRIVE
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4446d2
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x230], ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0x21c], 0x104
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x82
or eax, ecx
jge 0x444677
push 0x82
lea ecx, [ebp - 0x230]
call fcn.004206e0
mov ebx, dword [ebp - 0x230]
lea eax, [ebp - 0x21c]
push eax
push ebx
lea eax, [ebp - 0x224]
push eax
push 0
push str.HOMEPATH
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4446b4
mov eax, dword [ebp - 0x244]
push ebx
push dword [eax]
push 0x54a5e8
push eax
call fcn.00421320
add esp, 0x10
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4446d2
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x264]
call fcn.00424450
add esp, 4
lea ecx, [ebp - 0x24c]
push ecx
push 0x20019
push 0
push dword [eax]
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x264]
test eax, eax
sete bl
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x444737
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x4447f8
mov ebx, dword [ebp - 0x250]
mov dword [ebp - 0x21c], 0x104
mov eax, dword [ebx]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x82
or eax, ecx
jge 0x444771
push 0x82
mov ecx, ebx
call fcn.004206e0
lea eax, [ebp - 0x21c]
push eax
push dword [ebx]
lea eax, [ebp - 0x224]
push eax
push 0
push str.A520A1A4_1780_4FF6_BD18_167343C5AF16
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4447dc
mov eax, dword [ebx]
test eax, eax
jne 0x4447a2
xor ecx, ecx
jmp 0x4447b8
push dword [eax - 8]
push eax
call fcn.004e71b4
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x44489c
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x44489c
mov dword [eax - 0xc], ecx
mov eax, dword [ebx]
xor edx, edx
mov word [eax + ecx*2], dx
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44480a
mov eax, dword [ebp - 0x240]
push eax
mov ecx, ebx
call fcn.00421fc0
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44480a
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x250]
push eax
call fcn.00421fc0
mov eax, dword [ebp - 0x258]
mov eax, dword [eax]
test eax, eax
je 0x444856
cmp dword [esi - 0xc], 0
jl 0x444856
push eax
push esi
call fcn.004e89ad
add esp, 8
test eax, eax
je 0x444856
sub eax, esi
sar eax, 1
jne 0x444856
mov ebx, dword [ebp - 0x260]
mov eax, dword [ebx]
test eax, eax
je 0x444856
cmp dword [edi - 0xc], 0
jl 0x444856
push eax
push edi
call fcn.004e89ad
add esp, 8
test eax, eax
je 0x444856
sub eax, edi
sar eax, 1
je 0x4448a6
mov eax, dword [ebp - 0x248]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x218]
inc eax
push ecx
push eax
push SysStringLen
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x23c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x444051
jmp 0x4448b4
push 0x80070057
call fcn.0041fba0
lea eax, [ebp - 0x238]
push eax
mov ecx, ebx
call fcn.00421fc0
add edi, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4448d4
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4448f7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x444915
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.004e6e0a
mov esp, ebp
pop ebp
ret