Function at 0x468370
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61990b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
push eax
push 1
push 0
push 0x6c4f9c
mov dword [ebp - 0x1c], ecx
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4683c3
mov ecx, dword [0x6f6360]
mov dword [ebp - 0x18], ecx
mov ecx, dword [0x6f6c1c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0xbc]
push edx
mov edx, dword [ebp - 0x18]
push eax
push 0
push 0
mov esi, 0x32
push ecx
push edx
mov dword [ebp - 0x14], esi
call ebx
test eax, eax
je 0x468443
mov edx, dword [0x6f6c1c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0xbc]
push eax
mov eax, dword [0x6f6360]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x14], esi
call ebx
test eax, eax
je 0x468443
mov edi, str.default
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0xbc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x32
mov eax, dword [0x6f6c18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x14], esi
call ebx
test eax, eax
je 0x4684af
mov ecx, dword [0x6f6c18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x54]
push edx
mov edx, dword [0x6f6360]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x14], esi
call ebx
test eax, eax
je 0x4684af
mov edi, str.default
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x32
mov eax, dword [0x6f6c14]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x18]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x14], esi
call ebx
test eax, eax
je 0x468524
mov ecx, dword [0x6f6c14]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x88]
push edx
mov edx, dword [0x6f6360]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x14], esi
call ebx
test eax, eax
je 0x468524
mov edi, str.default
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x88]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x32
mov eax, dword [0x6f6c20]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0xf0]
push ecx
mov ecx, dword [ebp - 0x18]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x14], esi
call ebx
test eax, eax
je 0x468591
mov ecx, dword [0x6f6c20]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0xf0]
push edx
mov edx, dword [0x6f6360]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x14], esi
call ebx
test eax, eax
je 0x468591
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x6f6360]
cmp eax, ecx
je 0x468580
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
push 0x558
call fcn.005fdccd
mov ecx, eax
add esp, 4
mov dword [ebp - 0x20], ecx
test ecx, ecx
mov byte [ebp - 4], 1
je 0x4685b4
call fcn.0050d2e0
mov esi, eax
jmp 0x4685b6
xor esi, esi
lea eax, [ebp - 0xbc]
mov ecx, esi
push eax
mov byte [ebp - 4], 0
call fcn.0050f160
lea ecx, [ebp - 0x54]
push ecx
mov ecx, esi
call fcn.0050f190
lea edx, [ebp - 0x88]
mov ecx, esi
push edx
call fcn.0050f1c0
lea eax, [ebp - 0xf0]
mov ecx, esi
push eax
call fcn.0050f1f0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x14c]
mov ecx, esi
mov dword [esi + 4], edx
call fcn.0050dc60
jmp 0x46856c