Function at 0x440d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57fed0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
mov eax, dword [0x618f50]
push ebx
push esi
xor ebx, ebx
push edi
cmp eax, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
jne 0x440f4d
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.004bee20
mov edx, dword [0x63e508]
mov ecx, dword [0x63ec7c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x18]
neg edx
push eax
push 1
sbb edx, edx
push ebx
add edx, reloc.WSOCK32.dll_bind
push ecx
push edx
mov byte [ebp - 4], 1
call edi
mov esi, eax
cmp esi, ebx
je 0x440e10
cmp esi, 2
je 0x440e0c
mov eax, dword [0x639ad4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x63e508]
mov byte [ebp - 4], 2
cmp eax, ebx
mov eax, str.CURRENT_USER
jne 0x440db6
mov eax, str.MACHINE
mov ecx, dword [0x63ec7c]
lea edx, [ebp - 0x14]
push ecx
push eax
push 0x6168fc
push edx
call fcn.00562ecb
mov eax, dword [ebp - 0x14]
add esp, 0x10
lea ecx, [ebp - 0x30]
push eax
call fcn.004beed0
cmp eax, ebx
je 0x440e00
mov eax, dword [0x63e508]
mov edx, dword [0x63ec7c]
lea ecx, [ebp - 0x18]
neg eax
push ecx
push 1
sbb eax, eax
push ebx
add eax, reloc.WSOCK32.dll_bind
push edx
push eax
call edi
mov esi, eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0056a100
cmp esi, ebx
jne 0x440e4c
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x140]
push ecx
push edx
push ebx
push ebx
push str.MData
push eax
mov dword [ebp - 0x1c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x18]
mov esi, eax
neg esi
sbb esi, esi
push ecx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x440f42
lea ecx, [ebp - 0x40]
call fcn.004bee20
lea edx, [ebp - 0x18]
push ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareClassesCLSIDD5B91409_A8CA_4973_9A0B_59F713D25671
push reloc.WSOCK32.dll_accept
call edi
mov esi, eax
cmp esi, ebx
je 0x440ed8
mov eax, dword [0x639ad4]
mov dword [ebp - 0x14], eax
push str.SoftwareClassesCLSIDD5B91409_A8CA_4973_9A0B_59F713D25671
lea ecx, [ebp - 0x14]
push str.CURRENT_USER_s
push ecx
mov byte [ebp - 4], 4
call fcn.00562ecb
mov edx, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ebp - 0x40]
push edx
call fcn.004beed0
cmp eax, ebx
je 0x440ec8
lea eax, [ebp - 0x18]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareClassesCLSIDD5B91409_A8CA_4973_9A0B_59F713D25671
push reloc.WSOCK32.dll_accept
call edi
mov esi, eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0056a100
cmp esi, ebx
jne 0x440f36
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x140]
push ecx
push edx
push ebx
push ebx
push str.MData
push eax
mov dword [ebp - 0x1c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x18]
mov esi, eax
neg esi
sbb esi, esi
push ecx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004bee60
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.004bee60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004bee60
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.004bee60
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret