Function at 0x461ec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510eb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1bc
push ebx
push esi
mov dword [ebp - 0x20], ecx
push edi
mov ecx, 5
mov esi, str.SoftwareGlobalSCAPE_
lea edi, [ebp - 0x1c8]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x45
lea edi, [ebp - 0x1b2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.0042e0a0
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
add esp, 8
lea edx, [ebp - 0x1c8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x14]
call fcn.004dd151
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
push 0x20019
lea ecx, [ebp - 0x1c8]
push ebx
push ecx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x461f86
xor eax, eax
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 - 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x24]
push edx
push ebx
push eax
push ebx
push str.QConHist
push ecx
call edi
cmp eax, ebx
je 0x461fc2
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1c]
add eax, 0x2328
push eax
call fcn.004dd79a
add esp, 4
lea ecx, [ebp - 0x1c]
mov esi, eax
mov eax, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x24]
push esi
push edx
push ebx
push str.QConHist
push eax
mov dword [ebp - 0x2c], esi
call edi
mov ecx, dword [ebp - 0x1c]
push ebx
push ecx
push esi
lea ecx, [ebp - 0x9c]
call fcn.004e9219
push ebx
push 0x1000
lea edx, [ebp - 0x9c]
push 1
push edx
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], ebx
call fcn.004e18d0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 2
lea edx, [eax + 4]
cmp edx, ecx
jbe 0x46203d
sub eax, ecx
lea ecx, [ebp - 0x74]
add eax, 4
push eax
call fcn.004e1c5d
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
add eax, 4
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x50], eax
lea edx, [eax + 4]
cmp edx, ecx
jbe 0x462060
sub eax, ecx
lea ecx, [ebp - 0x74]
add eax, 4
push eax
call fcn.004e1c5d
mov eax, dword [ebp - 0x50]
add eax, 4
xor edi, edi
mov dword [ebp - 0x50], eax
cmp edi, dword [ebp - 0x28]
jge 0x4620b4
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x74]
push eax
push ecx
mov dword [ebp - 0x14], ebx
call fcn.00477d20
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
push ebx
push eax
lea esi, [edx + 0x5dc]
mov ecx, esi
call fcn.004d7cf3
cmp eax, ebx
jne 0x4620a1
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.004d7c6f
inc edi
jmp 0x462068
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 1
call fcn.004e1a34
lea ecx, [ebp - 0x9c]
call fcn.004e9280
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004dd7c3
add esp, 4
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.004e19ac
lea ecx, [ebp - 0x9c]
mov dword [ebp - 4], 0xffffffff
call fcn.004e9292
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret