Function at 0x425bfa
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x34], reloc.WS2_32.dll_accept
mov dword [ebp - 0x30], reloc.WS2_32.dll_bind
mov dword [ebp - 0x14], edi
mov esi, 0x40a0b8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
push 0x40a138
push dword [ebp + eax*4 - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x425e67
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x1c]
push eax
push edi
push edi
push edi
push dword [ebp - 8]
mov dword [ebp - 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x1c], edi
jbe 0x425e5e
push 0x104
lea eax, [ebp - 0x83c]
push eax
push dword [ebp - 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x83c]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x425e4f
push 0x200
push edi
lea eax, [ebp - 0x634]
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], 0x1fe
call fcn.0042b138
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 4]
push eax
push edi
push 0x40a1a0
push dword [ebp - 0xc]
call ebx
test eax, eax
jne 0x425ce8
cmp dword [ebp - 4], 1
je 0x425cf1
xor eax, eax
mov word [ebp - 0x634], ax
push 0x200
push edi
lea eax, [ebp - 0x434]
push eax
mov dword [ebp - 0x2c], 0x1fe
call fcn.0042b138
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 4]
push eax
push edi
push 0x40a1b4
push dword [ebp - 0xc]
call ebx
test eax, eax
jne 0x425d2e
cmp dword [ebp - 4], 1
je 0x425d37
xor eax, eax
mov word [ebp - 0x434], ax
push 0x200
push edi
lea eax, [ebp - 0x234]
push eax
mov dword [ebp - 0x24], 0x1fe
call fcn.0042b138
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 4]
push eax
push edi
push 0x40a1cc
push dword [ebp - 0xc]
call ebx
test eax, eax
jne 0x425d74
cmp dword [ebp - 4], 1
je 0x425d7d
xor eax, eax
mov word [ebp - 0x234], ax
cmp word [ebp - 0x634], di
jne 0x425dbd
cmp word [ebp - 0x434], di
jne 0x425d9c
cmp word [ebp - 0x234], di
je 0x425e46
mov ecx, esi
call fcn.0042bc28
add eax, eax
push eax
push esi
lea ecx, [ebp - 0x634]
push ecx
call fcn.0042b0c1
xor ecx, ecx
mov word [ebp + eax - 0x634], cx
cmp word [ebp - 0x434], di
jne 0x425de7
mov ecx, esi
call fcn.0042bc28
add eax, eax
push eax
push esi
lea ecx, [ebp - 0x434]
push ecx
call fcn.0042b0c1
xor ecx, ecx
mov word [ebp + eax - 0x434], cx
cmp word [ebp - 0x234], di
jne 0x425e11
mov ecx, esi
call fcn.0042bc28
add eax, eax
push eax
push esi
lea ecx, [ebp - 0x234]
push ecx
call fcn.0042b0c1
xor ecx, ecx
mov word [ebp + eax - 0x234], cx
inc dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x634]
push eax
push dword [ebp - 0x20]
push 0x40a1ec
call fcn.0042bc28
mov ebx, eax
lea eax, [ebp - 0x18]
call fcn.0042bf4c
add esp, 0x14
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
jb 0x425c6b
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jb 0x425c27
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret