Function at 0x401bb0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43690c
mov eax, dword fs:[0]
push eax
sub esp, 0x550
mov eax, dword [0x4456d0]
xor eax, esp
mov dword [esp + 0x54c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4456d0]
xor eax, esp
push eax
lea eax, [esp + 0x564]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], ebx
push str.SOFTWARE_
lea ecx, [esp + 0x28]
mov dword [esp + 0x570], ebx
call fcn.00403e50
add esi, 0xcc
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x578], 1
call fcn.00403200
mov eax, dword [eax]
add esp, 0xc
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x24]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x44], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x401c5e
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401c7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xfe
lea ecx, [esp + 0x65]
push ebx
push ecx
xor ebp, ebp
mov byte [esp + 0x6c], bl
call fcn.00422f30
push 0x3ff
lea edx, [esp + 0x171]
push ebx
push edx
mov byte [esp + 0x178], bl
call fcn.00422f30
add esp, 0x18
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1c], 0xff
mov dword [esp + 0x18], 0x400
call fcn.004103a5
lea ecx, [esp + 0x38]
mov byte [esp + 0x56c], 2
call fcn.004103a5
mov byte [esp + 0x56c], 3
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x164]
push ecx
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x20]
push ebx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x74]
push ecx
push ebp
push edx
mov dword [esp + 0x3c], 0xff
mov dword [esp + 0x38], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov edi, eax
cmp edi, ebx
jne 0x401dcc
push 0x440
call fcn.004044ff
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x401d7e
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
push 0x400
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x40]
push ebx
push eax
call fcn.00422f30
add esp, 0xc
jmp 0x401d80
xor esi, esi
lea eax, [esp + 0x60]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x401d90
lea eax, [esp + 0x160]
mov edx, esi
mov ecx, eax
sub edx, ecx
add edx, 0x20
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x401db0
mov ecx, dword [esp + 0x28]
push esi
add ecx, 0x90
call fcn.00408820
add ebp, 1
cmp edi, 0x103
jne 0x401ce3
cmp dword [esp + 0x14], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x401df6
mov edx, dword [esp + 0x14]
push edx
call esi
xor edi, edi
mov dword [esp + 0x14], edi
jmp 0x401dfa
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x38]
mov byte [esp + 0x56c], 2
call fcn.00410577
lea ecx, [esp + 0x4c]
mov byte [esp + 0x56c], 1
call fcn.00410577
mov byte [esp + 0x56c], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401e43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
je 0x401e4a
push edi
call esi
mov ecx, dword [esp + 0x564]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54c]
xor ecx, esp
call fcn.0042058e
add esp, 0x55c
ret