Function at 0x418b54
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x470
mov eax, 0x4383b0
call fcn.004220d8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ebx, ebx
mov dword [ebp - 0x450], ecx
cmp eax, ebx
jne 0x418b7e
mov eax, 0x80004003
jmp 0x418f78
mov dword [ebp - 0x44c], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x44c]
push edx
push 0x43ccb4
push eax
mov dword [ebp - 4], ebx
call dword [ecx + 0x90]
mov edi, eax
cmp edi, ebx
jl 0x418f62
cmp dword [ebp - 0x44c], ebx
je 0x418f62
mov dword [ebp - 0x444], ebx
xor eax, eax
mov dword [ebp - 0x438], eax
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x418bda
mov dword [ebp - 0x438], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x44c]
mov ecx, dword [eax]
lea edx, [ebp - 0x438]
push edx
push eax
call dword [ecx + 0x24]
mov dword [ebp - 0x454], eax
cmp eax, ebx
jne 0x418f2a
cmp dword [ebp - 0x438], ebx
je 0x418f40
push dword [ebp - 0x444]
call esi
mov eax, dword [ebp - 0x438]
lea edx, [ebp - 0x444]
push edx
mov dword [ebp - 0x444], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov dword [ebp - 0x454], eax
cmp eax, ebx
jl 0x418f40
push dword [0x44ac38]
lea ecx, [ebp - 0x444]
call fcn.0041492a
test al, al
je 0x418f2a
mov dword [ebp - 0x448], ebx
mov eax, dword [ebp - 0x438]
mov ecx, dword [eax]
lea edx, [ebp - 0x448]
push edx
push eax
mov byte [ebp - 4], 3
call dword [ecx + 0x68]
mov dword [ebp - 0x454], eax
cmp eax, ebx
jl 0x418f1e
mov ecx, dword [ebp - 0x450]
mov dword [ebp - 0x468], ebx
mov dword [ebp - 0x458], ebx
call fcn.00414710
test eax, eax
je 0x418f80
mov dword [ebp - 0x47c], ebx
mov eax, dword [0x44a014]
mov dword [ebp - 0x43c], eax
push dword [ebp - 0x458]
lea eax, [ebp - 0x43c]
push str.conn_d
push eax
mov byte [ebp - 4], 4
call fcn.00403397
mov edi, 0x400
push edi
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.00422690
add esp, 0x18
mov dword [ebp - 0x474], edi
lea eax, [ebp - 0x470]
push eax
push 0xf003f
push ebx
push str.SYSTEMCurrentControlSetControlLockGUID
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 5
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x418db3
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x410]
push eax
push ebx
push ebx
push dword [ebp - 0x43c]
push dword [ebp - 0x470]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x464]
call fcn.00401d7c
lea eax, [ebp - 0x464]
push eax
mov byte [ebp - 4], 6
call fcn.00415a84
pop ecx
push dword [ebp - 0x448]
lea ecx, [ebp - 0x46c]
call fcn.00402f3c
push dword [ebp - 0x46c]
push dword [ebp - 0x464]
call fcn.0042251a
neg eax
pop ecx
sbb al, al
pop ecx
inc al
lea ecx, [ebp - 0x46c]
mov byte [ebp - 0x43d], al
call fcn.0040147e
cmp byte [ebp - 0x43d], bl
je 0x418d9c
mov dword [ebp - 0x468], 1
push dword [ebp - 0x470]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x464]
call fcn.0040147e
push ebx
call esi
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 3
call fcn.0040147e
mov ecx, dword [ebp - 0x450]
inc dword [ebp - 0x458]
call fcn.00414710
cmp dword [ebp - 0x458], eax
jb 0x418c9f
cmp dword [ebp - 0x468], ebx
je 0x418f80
cmp dword [ebp - 0x448], ebx
jne 0x418dfe
mov dword [ebp - 0x43c], ebx
jmp 0x418e18
push dword [ebp - 0x448]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x43c], eax
cmp eax, ebx
je 0x418fa3
mov ecx, dword [ebp - 0x450]
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x45c]
push eax
mov byte [ebp - 4], 7
call fcn.0041518e
push dword [ebp - 0x43c]
mov byte [ebp - 4], 9
call esi
push ecx
mov ecx, esp
mov dword [ebp - 0x47c], esp
push 0x43b916
call fcn.0040144c
lea eax, [ebp - 0x45c]
push eax
call fcn.00415f94
pop ecx
pop ecx
push dword [ebp - 0x45c]
lea ecx, [ebp - 0x460]
call fcn.00402f3c
mov dword [ebp - 0x420], 0xf
mov dword [ebp - 0x424], ebx
mov byte [ebp - 0x434], bl
mov dword [ebp - 0x418], ebx
mov byte [ebp - 0x414], bl
mov eax, dword [ebp - 0x460]
mov eax, dword [eax - 8]
add eax, 0xfffffffe
push eax
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 0xb
call fcn.00412e01
mov edi, dword [eax]
push edi
mov byte [ebp - 4], 0xc
call fcn.00421060
pop ecx
push eax
push edi
lea ecx, [ebp - 0x434]
call fcn.00401fc0
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 0xb
call fcn.0040147e
mov ecx, dword [ebp - 0x450]
lea eax, [ebp - 0x434]
push eax
add ecx, 0x1b90
mov byte [ebp - 0x414], 1
call fcn.00418ae7
lea ecx, [ebp - 0x434]
call fcn.00415a68
lea ecx, [ebp - 0x460]
call fcn.0040147e
push dword [ebp - 0x45c]
call esi
push dword [ebp - 0x448]
mov byte [ebp - 4], 2
call esi
cmp dword [ebp - 0x454], ebx
jl 0x418f40
mov eax, dword [ebp - 0x438]
cmp eax, ebx
jne 0x418bce
mov edi, dword [ebp - 0x454]
mov eax, dword [ebp - 0x438]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x418f5a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x444]
call esi
mov eax, dword [ebp - 0x44c]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x418f76
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
call fcn.0042215b
ret 4
mov eax, dword [ebp - 0x450]
push dword [ebp - 0x448]
xor edi, edi
inc edi
mov dword [eax + 0x1b78], edi
mov dword [eax + 0x1b74], 0xfffffffe
call esi
jmp 0x418f46
push 0x8007000e
call fcn.00401000
int3