Function at 0x404880
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46eb40
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x48db98]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call fcn.00434873
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4048cd
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], 0
call fcn.00434873
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4048ff
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x44], 1
call fcn.00434873
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40492e
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x44], 2
call fcn.00434873
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40495d
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
push 0x78
mov byte [esp + 0x48], 3
call fcn.00434822
test eax, eax
je 0x404989
push 0x78
push eax
lea ecx, [esp + 0x18]
call fcn.00401980
push 0x79
call fcn.00434822
test eax, eax
je 0x4049a0
push 0x79
push eax
lea ecx, [esp + 0x20]
call fcn.00401980
push 0x77
call fcn.00434822
test eax, eax
je 0x4049b7
push 0x77
push eax
lea ecx, [esp + 0x1c]
call fcn.00401980
push 0x4747cc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00401f70
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x5c], 4
call fcn.00401eb0
push 0x4747cc
push eax
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x68], 5
call fcn.00401f70
lea ecx, [esp + 0x38]
push ecx
push eax
lea edx, [esp + 0x4c]
mov bl, 6
push edx
mov byte [esp + 0x74], bl
call fcn.00401eb0
add esp, 0x30
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 7
call fcn.00401e30
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x44], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404a41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x44], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404a66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x44], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404a8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x44], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404ab0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x75
call fcn.00434822
test eax, eax
je 0x404acb
push 0x75
push eax
lea ecx, [esp + 0x24]
call fcn.00401980
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x38]
push ecx
push 0x20019
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x30]
push edx
push 0x48f1c4
lea eax, [esp + 0x3c]
push eax
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x404b1c
push 2
push 0x47484c
push 0x48f1c4
call fcn.00450080
add esp, 0xc
call fcn.00404670
mov bl, al
lea eax, [edi - 0x10]
mov byte [esp + 0x44], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404b44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x44], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x44], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404bb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x38
ret