Function at 0x4e96c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5be140
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x679a28
push 0
push 0x65633c
push reloc.WSOCK32.dll_accept
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4e9a78
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 0x66686c
push ecx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4e974c
mov edx, dword [ebp - 0x18]
mov dword [esi + 0xb8], edx
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push 0x6666ec
push edx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4e9773
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xb0], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
push ecx
push edx
push 0
push 0
push 0x6666dc
push eax
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4e979a
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x11c], ecx
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
push 0x657b3c
push ecx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4e97c6
mov eax, dword [ebp - 0x18]
test eax, eax
setne dl
mov byte [esi + 0x121], dl
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push 0x6666d4
push edx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4e97f2
mov eax, dword [ebp - 0x18]
test eax, eax
setne al
mov byte [esi + 0x112], al
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
push ecx
push edx
push 0
push 0
push 0x6666cc
push eax
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4e981e
mov eax, dword [ebp - 0x18]
test eax, eax
setne cl
mov byte [esi + 0x113], cl
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
push 0x66685c
push ecx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4e984a
mov eax, dword [ebp - 0x18]
test eax, eax
setne dl
mov byte [esi + 0x120], dl
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x66684c
push ecx
call edi
test eax, eax
jne 0x4e994a
mov edx, dword [ebp - 0x14]
lea ecx, [esi + 0xc4]
push edx
call fcn.0059b10a
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0
push 0
push 0x66684c
push edx
call edi
test eax, eax
jne 0x4e98e8
xor ebx, ebx
cmp ebx, dword [esi + 0x12c]
jge 0x4e98e2
mov eax, dword [esi + 0x128]
mov ecx, dword [esi + 0xc4]
mov edi, ebx
push ecx
shl edi, 4
lea eax, [eax + edi + 4]
mov eax, dword [eax]
push eax
call fcn.0057ffb4
add esp, 8
test eax, eax
jne 0x4e98d9
mov ecx, dword [esi + 0x128]
add ecx, edi
push ecx
lea ecx, [esi + 0xc0]
call fcn.0059ae76
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x4e9913
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
inc ebx
jmp 0x4e9890
xor eax, eax
test eax, eax
jne 0x4e9913
push 0x652360
lea ecx, [esi + 0xc0]
call fcn.0059aec6
mov edx, dword [0x67aa50]
lea eax, [esi + 0xc4]
push edx
push 0x64efb0
push eax
call fcn.00593b08
add esp, 0xc
mov eax, dword [esi + 0xc0]
push 0x652360
push eax
call fcn.0057ffb4
add esp, 8
test eax, eax
je 0x4e994a
mov eax, dword [esi + 0xc0]
push 0x64f21c
push eax
call fcn.0057ffb4
add esp, 8
test eax, eax
je 0x4e994a
mov byte [esi + 0xe1], 1
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x66683c
push ecx
call edi
test eax, eax
jne 0x4e9a6e
mov edx, dword [ebp - 0x14]
lea ecx, [esi + 0xd4]
push edx
call fcn.0059b10a
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0
push 0
push 0x66683c
push edx
call edi
test eax, eax
jne 0x4e99dc
xor ebx, ebx
cmp ebx, dword [esi + 0x140]
jge 0x4e99d6
mov eax, dword [esi + 0x13c]
mov ecx, dword [esi + 0xd4]
mov edi, ebx
push ecx
shl edi, 4
lea eax, [edi + eax + 4]
mov eax, dword [eax]
push eax
call fcn.0057ffb4
add esp, 8
test eax, eax
jne 0x4e99d3
mov ecx, dword [esi + 0x13c]
add edi, ecx
lea ecx, [esi + 0xd0]
push edi
call fcn.0059ae76
jmp 0x4e9a07
inc ebx
jmp 0x4e9990
xor eax, eax
test eax, eax
jne 0x4e9a07
push 0x679a28
lea ecx, [esi + 0xd0]
call fcn.0059aec6
mov ecx, dword [0x67aa34]
lea eax, [esi + 0xd4]
push ecx
push 0x64efb0
push eax
call fcn.00593b08
add esp, 0xc
mov al, byte [esi + 0xe1]
test al, al
jne 0x4e9a6e
mov eax, dword [esi + 0xd0]
push 0x652360
push eax
call fcn.0057ffb4
add esp, 8
test eax, eax
je 0x4e9a6e
mov eax, dword [esi + 0xd0]
push 0x64f21c
push eax
call fcn.0057ffb4
add esp, 8
test eax, eax
je 0x4e9a6e
mov edx, dword [esi + 0xd0]
mov eax, dword [edx - 8]
test eax, eax
jle 0x4e9a6e
mov eax, dword [0x67aa34]
mov ecx, dword [esi + 0xd4]
push eax
push ecx
call fcn.0057ffb4
add esp, 8
test eax, eax
je 0x4e9a6e
mov byte [esi + 0xe0], 1
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret