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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58eb28
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x602c90]
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 esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x238], ecx
lea ecx, [ebp - 0x230]
push ecx
push 0xf003f
push 0
push eax
push edi
mov dword [ebp - 0x24c], ebx
mov byte [ebp - 0x219], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x230]
push 0
push 0
lea edx, [ebp - 0x240]
push edx
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x244]
push edx
push 0
lea ecx, [ebp - 0x260]
push ecx
lea edx, [ebp - 0x234]
push edx
push 0
push 0
push 0
push eax
mov dword [ebp - 0x254], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x234], 0
jbe 0x44aa53
push 0x5c232c
lea ecx, [ebp - 0x220]
call fcn.00401d80
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x44a8e2
call fcn.004022b0
cmp dword [ebp - 0x234], 0
mov dword [ebp - 0x22c], 0
jbe 0x44aa2a
mov edx, dword [ebp - 0x22c]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x218]
push ecx
push edx
push eax
mov dword [ebp - 0x248], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x44aa11
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00401d80
push 0x5c20fc
lea edx, [ebp - 0x23c]
push esi
push edx
mov byte [ebp - 4], 1
call fcn.00420dc0
lea ecx, [ebp - 0x224]
push ecx
push eax
lea edx, [ebp - 0x228]
push edx
mov byte [ebp - 4], 2
call fcn.00420d00
add esp, 0x18
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a99e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x14]
inc ecx
push ecx
mov ecx, dword [ebp - 0x238]
push ebx
lea edx, [ebp - 0x228]
push edx
push edi
call fcn.0044a800
or edx, 0xffffffff
mov byte [ebp - 0x219], al
mov byte [ebp - 4], 1
test al, al
mov eax, dword [ebp - 0x228]
jne 0x44ab00
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a9eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44aa11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x22c]
inc eax
mov dword [ebp - 0x22c], eax
cmp eax, dword [ebp - 0x234]
jb 0x44a8f9
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44aa53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x258]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
mov dword [ebp - 0x220], 0
neg ecx
or ecx, eax
push ecx
call fcn.0047329b
mov edi, eax
mov eax, dword [ebp - 0x240]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
mov dword [ebp - 0x250], 0x1000
neg ecx
or ecx, eax
push ecx
call fcn.0047329b
mov eax, dword [ebp - 0x240]
push eax
call fcn.0047329b
add esp, 0xc
cmp dword [ebp - 0x244], 0
mov esi, eax
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x228], 0
ja 0x44ab76
mov ecx, dword [ebp - 0x230]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x219]
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.0055f89e
mov esp, ebp
pop ebp
ret 0x10
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ab19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ab3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ab68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x44aae2
mov esi, dword [ebp - 0x238]
mov ebx, dword [ebp - 0x254]
lea ecx, [ebp - 0x250]
push ecx
mov ecx, dword [ebp - 0x220]
push esi
lea edx, [ebp - 0x25c]
push edx
push 0
lea eax, [ebp - 0x264]
push eax
push edi
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ecx, 1
add dword [ebp - 0x220], ecx
test eax, eax
jne 0x44ace2
cmp dword [ebp - 0x25c], ecx
jne 0x44ace2
call fcn.0047977b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x44ad00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
push esi
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 5
call fcn.00421010
push 0x5c232c
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], 6
call fcn.00401d80
mov esi, eax
push edi
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 7
call fcn.00401d80
push esi
push ebx
lea esi, [ebp - 0x224]
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00449830
mov bl, al
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ac5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ac85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x224]
test bl, bl
je 0x44acbf
mov ecx, dword [ebp - 0x24c]
mov eax, dword [ecx]
test eax, eax
je 0x44acbf
cmp dword [esi - 0xc], 0
jl 0x44acbf
push eax
push esi
call fcn.00560268
add esp, 8
test eax, eax
je 0x44acbf
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x44acbf
mov byte [ebp - 0x219], 1
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44ace2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x228]
inc eax
mov dword [ebp - 0x228], eax
cmp eax, dword [ebp - 0x244]
jb 0x44ab70
jmp 0x44aacf
push 0x80004005
call fcn.00401090
int3