Function at 0x4f38c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5be93b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
push esi
mov esi, ecx
mov eax, 0x50
push edi
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x658], eax
mov dword [esi + 0x65c], eax
mov dword [esi + 0x660], eax
mov eax, 0xfa
mov dword [esi + 0x668], eax
mov dword [esi + 0x66c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], esp
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x679a28
push 0
push 0x666f0c
push reloc.WSOCK32.dll_accept
mov dword [ebp - 4], 0
mov dword [esi + 0x654], 0x96
mov dword [esi + 0x664], 0x64
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4f39b2
lea ecx, [ebp - 0x22c]
call fcn.00480870
push 1
push 0x65620c
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 1
call fcn.00480980
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0
call fcn.00480970
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
mov ebx, 4
push 0x656200
push ecx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4f39e4
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x654], edx
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push 0x6561f4
push edx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4f3a0b
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x658], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
push ecx
push edx
push 0
push 0
push 0x6561ec
push eax
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4f3a32
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x65c], ecx
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
push 0x6568a8
push ecx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4f3a59
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x660], edx
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push 0x6561d8
push edx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4f3a80
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x664], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
push ecx
push edx
push 0
push 0
push 0x651fe8
push eax
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4f3aa7
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x668], ecx
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
push 0x6561e4
push ecx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4f3ace
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x66c], edx
mov eax, dword [esi + 0x654]
test eax, eax
jne 0x4f3b50
mov eax, dword [esi + 0x658]
test eax, eax
jne 0x4f3b50
mov eax, dword [esi + 0x65c]
test eax, eax
jne 0x4f3b50
mov eax, dword [esi + 0x660]
test eax, eax
jne 0x4f3b50
mov eax, dword [esi + 0x664]
test eax, eax
jne 0x4f3b50
mov eax, dword [esi + 0x668]
test eax, eax
jne 0x4f3b50
mov eax, dword [esi + 0x66c]
test eax, eax
jne 0x4f3b50
mov eax, 0x50
mov dword [esi + 0x654], 0x96
mov dword [esi + 0x658], eax
mov dword [esi + 0x65c], eax
mov dword [esi + 0x660], eax
mov eax, 0xfa
mov dword [esi + 0x664], 0x64
mov dword [esi + 0x668], eax
mov dword [esi + 0x66c], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret