Function at 0x4b3fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9010
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
xor esi, esi
push 0x65a4e8
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], esi
call fcn.0059adab
push 0x664fa0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0059adab
push 0x65a3dc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0059adab
push 0x67a69c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0059aab2
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x14]
push eax
push ecx
push esi
push 0xf003f
push esi
push 0x679a28
push esi
push 0x653324
push reloc.WSOCK32.dll_accept
mov byte [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4b447d
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x1c]
push edx
push eax
push esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, 4
push 0x655880
push ecx
mov dword [ebp - 0x18], edi
call esi
test eax, eax
jne 0x4b406d
cmp dword [ebp - 0x1c], 2
jne 0x4b406d
mov byte [ebx + 4], 0
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push 0x655870
push ecx
mov dword [ebp - 0x18], edi
call esi
test eax, eax
jne 0x4b4095
cmp dword [ebp - 0x1c], 2
jne 0x4b4095
mov byte [ebx + 5], 0
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push 0x655860
push ecx
mov dword [ebp - 0x18], edi
call esi
test eax, eax
jne 0x4b40bd
cmp dword [ebp - 0x1c], 2
je 0x4b40bd
mov byte [ebx + 6], 1
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push 0x655850
push ecx
mov dword [ebp - 0x18], edi
call esi
test eax, eax
jne 0x4b40e5
cmp dword [ebp - 0x1c], 2
je 0x4b40e5
mov byte [ebx + 7], 1
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x34]
push edx
push 0
push 0
push 0
push 0x664f90
push eax
mov edi, eax
call esi
test eax, eax
jne 0x4b415c
mov eax, dword [0x6754d4]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 5
push ecx
lea ecx, [ebp - 0x38]
call fcn.0059b10a
lea edx, [ebp - 0x34]
mov ebx, eax
push edx
push ebx
push 0
push 0
push 0x664f90
push edi
call esi
test eax, eax
jne 0x4b4150
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jbe 0x4b4150
push ebx
lea eax, [ebp - 0x30]
push 0x64efb0
push eax
call fcn.00593b08
add esp, 0xc
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0059ad3d
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0
push 0
push 0x664f80
push eax
mov edi, eax
call esi
test eax, eax
jne 0x4b41d4
mov edx, dword [0x6754d4]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
push eax
mov byte [ebp - 4], 6
call fcn.0059b10a
lea ecx, [ebp - 0x38]
mov ebx, eax
push ecx
push ebx
push 0
push 0
push 0x664f80
push edi
call esi
test eax, eax
jne 0x4b41c8
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jbe 0x4b41c8
push ebx
lea edx, [ebp - 0x2c]
push 0x64efb0
push edx
call fcn.00593b08
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.0059ad3d
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0
push 0
push 0x664f70
push eax
mov edi, eax
call esi
test eax, eax
jne 0x4b424c
mov edx, dword [0x6754d4]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
push eax
mov byte [ebp - 4], 7
call fcn.0059b10a
lea ecx, [ebp - 0x38]
mov ebx, eax
push ecx
push ebx
push 0
push 0
push 0x664f70
push edi
call esi
test eax, eax
jne 0x4b4240
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jbe 0x4b4240
push ebx
lea edx, [ebp - 0x28]
push 0x64efb0
push edx
call fcn.00593b08
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.0059ad3d
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0
push 0
push 0x664f5c
push eax
mov edi, eax
call esi
test eax, eax
jne 0x4b42c4
mov edx, dword [0x6754d4]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
push eax
mov byte [ebp - 4], 8
call fcn.0059b10a
lea ecx, [ebp - 0x38]
mov ebx, eax
push ecx
push ebx
push 0
push 0
push 0x664f5c
push edi
call esi
test eax, eax
jne 0x4b42b8
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jbe 0x4b42b8
push ebx
lea edx, [ebp - 0x24]
push 0x64efb0
push edx
call fcn.00593b08
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.0059ad3d
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x20]
push eax
push 0xf003f
push 0
push 0x650450
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4b4314
lea ecx, [ebp - 0x20]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0x679a28
push 0
push 0x650450
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4b442e
mov dl, byte [ebx + 4]
push edx
push 0x650b38
push 0x664f90
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0x67a6b0
call fcn.0059aab2
push ecx
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x44], esp
push eax
mov byte [ebp - 4], 9
call fcn.0059aab2
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push ecx
push edx
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.004b3d20
mov al, byte [ebx + 5]
push eax
push 0x650b1c
push 0x664f80
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0x67a698
call fcn.0059aab2
push ecx
lea edx, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push edx
mov byte [ebp - 4], 0xa
call fcn.0059aab2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
push eax
push ecx
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.004b3d20
mov dl, byte [ebx + 6]
push edx
push 0x664f44
push 0x664f70
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0x67a694
call fcn.0059aab2
push ecx
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
mov byte [ebp - 4], 0xb
call fcn.0059aab2
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push ecx
push edx
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.004b3d20
mov al, byte [ebx + 7]
push eax
push 0x664f28
push 0x664f5c
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0x67a69c
call fcn.0059aab2
push ecx
lea edx, [ebp - 0x24]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push edx
mov byte [ebp - 4], 0xc
call fcn.0059aab2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
push eax
push ecx
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.004b3d20
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4b443c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0059ad3d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0059ad3d
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0059ad3d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.0059ad3d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x14], esi
jmp 0x4b42c7