Function at 0x526c5d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f60ac
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.0044ea10
mov eax, dword [0x69f564]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2028]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x203c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2040], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2048], eax
mov eax, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x202c], edi
mov dword [ebp - 0x204c], ebx
call fcn.00404479
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2038], ebx
mov dword [ebp - 0x2034], ebx
mov dword [ebp - 0x2030], ebx
call fcn.00420589
test al, al
je 0x526cff
push esi
push esp
push edx
push edi
push ecx
push edx
push edx
pop esp
push ebp
push esp
pop ebp
pop edi
pop ebx
pop esi
pop edx
push edi
push esi
mov edi, dword [ebp - 0x202c]
call fcn.004204ff
test al, al
je 0x526d1e
pop edx
push ecx
pop ebp
pop edx
pop ecx
push edi
pop ecx
push ebx
pop esi
push edx
pop eax
push eax
pop eax
pop esp
push ebp
push edx
pop ebx
push esp
push edi
push eax
push edi
push esp
lea eax, [ebp - 0x2038]
push eax
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x526d64
lea eax, [ebp - 0x2028]
mov ecx, edi
push eax
call fcn.00402208
push 0
push 1
lea ecx, [ebp - 0x2028]
call fcn.004037bf
mov eax, edi
jmp 0x526f73
call fcn.004208c5
test al, al
je 0x526d7d
push esi
pop edx
push ecx
push ecx
pop ebx
push ebp
pop esp
push ebx
push ecx
pop ecx
push edx
pop eax
pop esp
push esi
push eax
push ebx
call fcn.00420613
test al, al
je 0x526d9d
push ebx
pop esp
push edx
pop esi
push esi
pop ebx
pop eax
push eax
push edi
push esi
push ebp
push ebp
pop ebp
push edx
push eax
pop esp
push edx
push ebp
pop esp
pop ecx
push ebx
push edi
pop ebx
call fcn.004204ff
test al, al
je 0x526dc5
push esp
push edx
pop esi
pop edx
push ecx
push ecx
push esi
pop ecx
pop edi
pop edi
pop ebp
push edx
pop esp
pop ecx
push ebp
push ebx
push edi
pop esi
push eax
push ecx
pop ebp
pop eax
pop esp
push edi
push esp
push ebx
pop edi
push eax
push ecx
push ebp
pop ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x2034]
xor ebx, ebx
mov edi, 0xf013f
push ebx
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push dword [ebp - 0x203c]
push dword [ebp - 0x2038]
call esi
test eax, eax
je 0x526e15
push dword [ebp - 0x2038]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x202c]
lea eax, [ebp - 0x2028]
push eax
call fcn.00402208
push ebx
jmp 0x526f60
push ebx
lea eax, [ebp - 0x2030]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push dword [ebp - 0x2040]
push dword [ebp - 0x2034]
call esi
test eax, eax
je 0x526e4c
push dword [ebp - 0x2034]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x2030]
call esi
jmp 0x526dfd
call fcn.00420613
test al, al
je 0x526e76
push edi
pop esi
push ebp
pop eax
pop ebp
pop edx
pop edi
push ebx
push ebx
pop esi
pop eax
push esi
push esp
pop edx
push esi
push eax
pop ecx
pop ebx
pop esi
pop ebp
pop ecx
pop eax
push esp
pop eax
push edi
pop edx
pop ebp
pop edi
pop edx
pop ebx
pop ebx
xor ebx, ebx
push 0x2000
lea eax, [ebp - 0x2010]
push ebx
push eax
call fcn.005426c0
add esp, 0xc
mov dword [ebp - 0x2044], 0x1000
lea eax, [ebp - 0x2044]
push eax
lea eax, [ebp - 0x2010]
push eax
push ebx
push ebx
push dword [ebp - 0x2048]
push dword [ebp - 0x2030]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x2030]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x2034]
call esi
push dword [ebp - 0x2038]
call esi
lea eax, [ebp - 0x2010]
push eax
call fcn.005454d1
pop ecx
test eax, eax
je 0x526dfd
call fcn.00420a1e
test al, al
je 0x526f06
pop esi
push ebx
pop ecx
pop esi
pop ebx
pop edi
pop esi
push esp
push edx
push edx
pop ebp
push eax
push ebx
pop ecx
pop esp
pop ebx
pop esp
pop esp
push esp
call fcn.00420994
test al, al
je 0x526f2a
push edx
push esi
pop ecx
pop esp
pop edx
pop ecx
push edx
push eax
push ebp
pop esi
pop edi
push ebx
pop esp
pop ecx
pop ecx
pop ecx
pop edi
push esp
pop edi
pop ebp
pop ecx
push ecx
pop eax
push edx
pop eax
pop ebx
push ebx
call fcn.0042094f
test al, al
je 0x526f4c
pop ebx
pop edx
pop edi
push ebx
pop ecx
pop edx
pop ebx
push ebp
push ecx
pop ebx
push ebp
pop ebx
push edx
push esi
push ecx
push ecx
push ecx
push eax
pop esi
push esp
pop edx
pop edx
pop edi
push ecx
push edi
mov ecx, dword [ebp - 0x202c]
lea eax, [ebp - 0x2010]
push eax
call fcn.00404479
push 0
push 1
lea ecx, [ebp - 0x2028]
call fcn.004037bf
mov eax, dword [ebp - 0x202c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044e8de
mov esp, ebp
pop ebp
ret