Function at 0x44f820
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0ca0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov ebx, dword [ebp + 8]
push esi
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x30]
push edx
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push esi
push esi
mov dword [ebp - 4], esi
push esi
push ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, esi
je 0x44f8ca
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44f8b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
inc eax
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004844d7
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x1c], esi
jbe 0x44faa9
mov eax, dword [ebp - 0x14]
inc eax
push eax
push esi
push edi
mov dword [ebp - 0x24], eax
call fcn.0048ac40
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x24]
push eax
push edi
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, esi
jne 0x44fa70
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, edi
mov edx, ebx
mov byte [ebp - 4], 1
call fcn.0044ea90
lea ebx, [ebp + 0xc]
call fcn.004075b0
mov ebx, eax
call fcn.00407630
mov esi, dword [ebp - 0x10]
mov ebx, dword [esi - 0xc]
test ebx, ebx
js 0x44fa75
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x44f987
push ebx
lea ecx, [ebp - 0x10]
call fcn.004019c0
mov esi, dword [ebp - 0x10]
lea edx, [ebx + 1]
push edx
push esi
call fcn.00486867
add esp, 8
cmp ebx, dword [esi - 8]
jg 0x44fa75
mov dword [esi - 0xc], ebx
xor eax, eax
mov word [esi + ebx*2], ax
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx - 0xc]
test ebx, ebx
js 0x44fa75
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x44f9d1
push ebx
lea ecx, [ebp + 0xc]
call fcn.004019c0
mov edx, dword [ebp + 0xc]
lea ecx, [ebx + 1]
push ecx
push edx
call fcn.00486867
mov eax, dword [ebp + 0xc]
add esp, 8
cmp ebx, dword [eax - 8]
jg 0x44fa75
mov dword [eax - 0xc], ebx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov word [eax + ebx*2], dx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x44fa3a
cmp dword [esi - 0xc], edx
jl 0x44fa3a
push eax
push esi
call fcn.00486644
add esp, 8
test eax, eax
je 0x44fa3a
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x44fa3a
cmp dword [esi - 0xc], 0
jl 0x44fa7f
push 0x4ccdfc
push esi
call fcn.00486644
add esp, 8
test eax, eax
je 0x44fa7f
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x44fa7f
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44fa5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x1c]
jae 0x44faa6
mov ebx, dword [ebp + 8]
xor esi, esi
jmp 0x44f8f8
mov dword [ebp - 0x20], esi
jmp 0x44faa9
push 0x80070057
call fcn.00401a60
lea eax, [esi - 0x10]
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44faa6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp + 8]
push edi
call fcn.00486c45
add esp, 4
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44fadf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8