Function at 0x4dc8a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
lea eax, [esp + 0xc]
push ebx
push esi
mov esi, ecx
push eax
lea ecx, [esp + 0x14]
xor ebx, ebx
push ecx
push ebx
push 0xf003f
push ebx
push 0x679a28
push ebx
push 0x655168
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4dcb33
mov ecx, dword [esp + 0x10]
push ebp
lea edx, [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
push edx
push eax
push ebx
push ebx
mov ebp, 4
push 0x666038
push ecx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x4dc90a
mov byte [esi + 0x19], bl
jmp 0x4dc914
cmp dword [esp + 0x14], ebx
setne dl
mov byte [esi + 0x19], dl
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push ebx
push ebx
push 0x666028
push edx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x4dc939
mov byte [esi + 0x1a], bl
jmp 0x4dc943
cmp dword [esp + 0x14], ebx
setne al
mov byte [esi + 0x1a], al
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push ebx
push ebx
push 0x666018
push eax
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x4dc968
mov byte [esi + 0x1b], bl
jmp 0x4dc972
cmp dword [esp + 0x14], ebx
sete cl
mov byte [esi + 0x1b], cl
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push ebx
push ebx
push 0x665ff8
push ecx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x4dc997
mov byte [esi + 0x2c], bl
jmp 0x4dc9a1
cmp dword [esp + 0x14], ebx
setne dl
mov byte [esi + 0x2c], dl
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push ebx
push ebx
push 0x665fe8
push edx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x4dc9c6
mov byte [esi + 0x2f], bl
jmp 0x4dc9d0
cmp dword [esp + 0x14], ebx
setne al
mov byte [esi + 0x2f], al
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push ebx
push ebx
push 0x665fd4
push eax
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x4dc9f5
mov byte [esi + 0x2d], bl
jmp 0x4dc9ff
cmp dword [esp + 0x14], ebx
setne cl
mov byte [esi + 0x2d], cl
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push ebx
push ebx
push 0x665fc0
push ecx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x4dca24
mov byte [esi + 0x2e], bl
jmp 0x4dca2e
cmp dword [esp + 0x14], ebx
setne dl
mov byte [esi + 0x2e], dl
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push ebx
push ebx
push 0x666008
push edx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x4dca57
mov dword [esi + 0x28], 0x7f
jmp 0x4dca5e
mov eax, dword [esp + 0x14]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push ebx
push ebx
push 0x665fb4
push eax
mov dword [esp + 0x28], ebp
call edi
test eax, eax
jne 0x4dca87
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x1c], ecx
jmp 0x4dcaa4
push 0xffffffffffffffff
push ebx
push ebx
push 0x17
push 1
push 1
push 0x7d2
lea ecx, [esp + 0x3c]
call fcn.00594023
mov edx, dword [eax]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push ebx
push ebx
push 0x665fa8
push edx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
jne 0x4dcacd
mov eax, dword [esp + 0x14]
mov dword [esi + 0x20], eax
jmp 0x4dcad0
mov dword [esi + 0x20], ebx
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push ebx
push ebx
push 0x665f9c
push eax
mov dword [esp + 0x28], ebp
call edi
pop edi
pop ebp
test eax, eax
jne 0x4dcb0a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
mov dword [esi + 0x24], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x14
ret
push 0xffffffffffffffff
push ebx
push 0x1e
push 7
push 1
push 1
push 0x7d2
lea ecx, [esp + 0x34]
call fcn.00594023
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
push eax
mov dword [esi + 0x24], edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x14
ret