Function at 0x40a836
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x244
mov eax, 0x5970ae
call fcn.00410ff3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00431720
push 0x59baf0
lea eax, [ebp - 0x218]
push 0x59bb7c
push eax
call fcn.00402189
add esp, 0x18
lea ecx, [ebp - 0x250]
call fcn.00415179
and dword [ebp - 4], 0
call fcn.004156b6
test al, al
je 0x40a8b0
pop esi
pop ecx
pop edi
push ebx
pop ecx
push edi
push eax
pop edi
push ebp
push edi
push eax
pop eax
push esp
push edx
push ebx
pop eax
pop edi
push ebp
pop ebp
push ecx
pop edx
call fcn.00415b06
test al, al
je 0x40a8cc
push esp
pop esp
push edi
pop ecx
pop ebp
push esp
push esp
pop eax
push esi
push esi
push ebp
pop esp
pop ebx
pop ebx
push edi
pop esp
push esp
pop edi
push edx
call fcn.0041580f
test al, al
je 0x40a8f3
push edx
push edi
pop eax
pop esp
push edi
pop ebx
pop esi
pop ebp
push esi
pop edi
push esp
push ecx
pop eax
push eax
push ecx
push ebp
push ecx
push ebp
pop esp
push esp
pop edx
pop esp
pop ebp
pop eax
pop esp
pop ebx
pop esi
push edi
push edi
pop ebp
lea ecx, [ebp - 0x250]
call fcn.004151ad
test eax, eax
je 0x40a9a2
lea eax, [ebp - 0x21c]
mov esi, 0xf013f
push eax
push esi
xor ebx, ebx
push ebx
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ab08
push ebx
lea eax, [ebp - 0x220]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40aa50
call fcn.004157ca
test al, al
je 0x40a976
pop edx
pop ebx
pop esi
push edi
pop edi
push ecx
pop edx
push ebp
pop eax
pop ebp
push edx
push eax
push eax
pop edx
push edi
pop esp
pop eax
push ebx
pop edi
pop edx
push edx
pop eax
push esi
call fcn.00415449
test al, al
je 0x40aac5
pop esp
push ebx
push eax
pop edi
pop ecx
pop edx
push ebp
push eax
pop ecx
push edi
pop eax
pop ebx
push edi
pop ecx
push ebx
pop edi
push eax
pop ecx
push edi
pop esp
push ebx
pop edi
push edx
pop edi
push edx
pop esi
jmp 0x40aac5
call fcn.004158de
test al, al
je 0x40a9c6
push ecx
pop esp
push eax
pop ebp
push esi
pop eax
pop esp
push eax
push esi
pop ecx
pop eax
push ebp
pop eax
pop esi
push edx
pop edi
pop ebp
push edx
push eax
pop ebx
pop edx
pop edx
push esi
push esi
pop edx
pop ebp
pop ebx
call fcn.00415923
test al, al
je 0x40a9e6
pop esp
push eax
push esi
push esi
push ebp
push esi
pop eax
pop ecx
pop eax
push edi
push edi
pop ebx
push esp
pop esp
push esi
pop ecx
push esi
push esi
push ebx
pop esi
push edx
pop esp
pop eax
call fcn.0041562c
test al, al
je 0x40aa04
push ebp
push ecx
pop esp
push ecx
pop ebp
push ecx
push esp
push ecx
pop esp
pop edi
push edi
pop ebp
push edi
push esp
pop ebx
push ecx
push edi
pop ebx
pop eax
pop ebx
push ebp
lea eax, [ebp - 0x21c]
mov esi, 0xf003f
push eax
push esi
xor ebx, ebx
push ebx
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ab08
push ebx
lea eax, [ebp - 0x220]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40aa61
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40ab08
call fcn.004156b6
test al, al
je 0x40aa80
push eax
pop edx
pop edi
pop edi
push ebp
pop ecx
push ecx
push edi
push esp
push edi
push esi
push ebp
pop esi
pop ecx
pop esp
push esi
pop esp
push ecx
push esp
push eax
pop ecx
pop ecx
call fcn.00415785
test al, al
je 0x40aaa5
pop ebx
push ecx
pop edx
push ebp
push edx
pop edi
pop edi
pop esp
push ebp
pop esi
pop edx
pop ebp
pop esi
pop edx
push edi
pop ebp
push ebp
push edi
push ebp
pop edx
push ebp
push esi
pop esi
pop esi
pop ebp
push edx
push ebp
pop esp
call fcn.004156b6
test al, al
je 0x40aac5
pop esi
push ebp
pop edx
pop edx
push ebp
push edi
pop eax
push ebp
pop edx
pop ecx
pop esp
push esp
pop edi
push esp
pop edx
push ebp
push esi
push edi
push edi
pop ebx
pop ebp
pop ebx
push esp
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x104
push eax
push dword [ebp - 0x228]
push 0
push 0
push dword [ebp - 0x22c]
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x220]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x21c]
call esi
lea ecx, [ebp - 0x250]
call fcn.0041518c
call fcn.00410fae
ret 8