Function at 0x403a92
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xb0
mov eax, 0x42aeb1
call fcn.0040d509
mov ebx, ecx
mov dword [ebp - 0x78], ebx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp + 0xc]
xor esi, esi
push esi
push 0x104
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x88], esi
call fcn.00406256
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040147a
mov dword [ebp - 0xa4], eax
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x90]
push eax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00402326
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x403d04
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x71], al
call fcn.00402326
mov ecx, eax
call fcn.00408498
lea ecx, [ebp - 0x28]
call fcn.00402326
push eax
lea ecx, [ebp - 0x58]
call fcn.004013b9
mov byte [ebp - 4], 2
lea eax, [ebp - 0x58]
push eax
lea edi, [ebx + 0x38]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x9c], edi
push eax
mov ecx, edi
call fcn.00406527
mov ebx, dword [ebp - 0x98]
cmp ebx, dword [edi]
je 0x403b8a
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebp - 0x58]
call fcn.00407608
test eax, eax
jns 0x403b8c
mov ebx, dword [edi]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004018e3
cmp ebx, dword [edi]
je 0x403bbf
mov ebx, dword [ebx + 0x28]
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebx + 4]
ja 0x403c08
jb 0x403cf8
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebx]
ja 0x403c08
jmp 0x403cf8
push 0x20
call fcn.0040cff7
mov ebx, eax
pop ecx
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 4], 3
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov byte [ebx + 0x18], 1
mov byte [ebp - 4], 1
mov edi, ebx
mov esi, dword [ebp + 0x10]
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x88]
mov edi, dword [ebp - 0x9c]
mov byte [ebp - 0x71], 1
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x40]
call fcn.004013b9
mov byte [ebp - 4], 4
push 0x438f84
call fcn.004013ea
pop ecx
push eax
push 0x438f84
lea ecx, [ebp - 0x40]
call fcn.00406b9c
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406c61
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x40]
call fcn.00402326
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403cdc
mov ecx, dword [ebp - 0x78]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x7c]
call fcn.004039d8
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x28]
mov dword [ebx], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebx + 4], eax
call fcn.00402326
mov ecx, eax
call fcn.00408498
lea ecx, [ebp - 0x28]
call fcn.00402326
push eax
lea ecx, [ebp - 0x70]
call fcn.004013b9
mov byte [ebp - 4], 5
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xb0]
mov ecx, edi
push eax
call fcn.00407781
mov eax, dword [ebp - 0xb0]
mov dword [eax + 0x28], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.004018e3
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403cec
cmp byte [ebp - 0x71], 0
je 0x403cec
push 0x20
push ebx
call fcn.0040d268
pop ecx
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004018e3
mov edi, dword [ebp - 0x84]
mov ebx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x80]
inc esi
test eax, eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x88], esi
je 0x403af7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004018e3
call fcn.0040d4b3
ret 0xc