Function at 0x10044892
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.100b8c3f
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x100448fd
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x100448f9
imul eax, dword [ebx]
jmp 0x100448ee
mov ecx, eax
test ecx, ecx
je 0x1004493d
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10044918
push ebx
call fcn.100b8c45
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x1004492c
push ebx
call fcn.100b8c45
add esp, 4
pop ebx
call fcn.100b8c45
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10044903
call fcn.100b8c45
add esp, 4
mov eax, 0x100d5289
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
push dword [ebp + 8]
call fcn.10044cab
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1004498f
push 0x4e
push 0x40320ec
push 6
call fcn.100b8c4b
add esp, 0xc
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.100bab30
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100449cc
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x1bc
call fcn.100b9960
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10044a07
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x10044a2c
mov eax, 0x100d520e
push eax
push 1
mov ebx, 0x130
call fcn.100baa20
add esp, 0x10
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10044a55
mov eax, 0x100d5289
push eax
push 1
mov ebx, 0x194
call fcn.100ba1f0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10044a7c
add eax, 8
push eax
mov eax, 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
push dword [ebp - 0x18]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x10044ac3
push 0x183
push 0x40320ec
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10044ad5
jmp 0x10044c2e
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
push 0
push 0
push 0
push 0x80000301
push 0
push 0xa
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10044b03
mov eax, 0x100d5289
push eax
push 3
mov ebx, 0x19c
call fcn.100ba350
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
cmp ecx, reloc.WS2_32.dll_connect
je 0x10044b41
push 0x20c
push 0x40320ec
push 5
call fcn.100b8c4b
add esp, 0xc
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10044b57
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
push dword [ebp + 0x10]
push 4
mov eax, 2
call fcn.100b96f0
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
mov dword [ebp - 0x20], ebx
call fcn.100020b9
mov dword [ebp - 0x24], ecx
mov edi, dword [ebp - 0x20]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x10044ba1
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x24]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x20]
call fcn.100b8c57
add esp, 8
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x24]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x1c]
push edi
push eax
push 8
call fcn.100b8c3f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x10044bfb
push eax
mov ebx, eax
call fcn.1000101d
inc eax
push eax
call fcn.100b8c3f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x10044c1a
push eax
mov ebx, eax
call fcn.1000101d
inc eax
push eax
call fcn.100b8c3f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
inc dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0
je 0x1004498f
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x10044c5a
push 0x2c2
push 0x40320ec
push 6
call fcn.100b8c4b
add esp, 0xc
mov eax, dword [ebp - 0x18]
jmp 0x10044c62
push eax
mov ebx, dword [ebp - 0xc]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10044c77
push ebx
call fcn.100b8c45
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10044c8b
push ebx
call fcn.100b8c45
add esp, 4
pop ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10044ca4
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc