Function at 0x403431
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x4230ff
call fcn.00410238
sub esp, 0x9b8
mov eax, dword [0x42eb80]
push ebx
push esi
mov esi, ecx
xor eax, ebp
lea ecx, [esi + 0x2c]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x984], ecx
call fcn.00402e3f
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x554]
mov dword [ebp - 0x53c], 0xf
call fcn.00401ea0
cmp edi, ebx
mov dword [ebp - 4], ebx
je 0x40348c
push edi
lea ecx, [ebp - 0x554]
call fcn.00402716
push esi
lea ecx, [ebp - 0x538]
call fcn.004026d3
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x554]
push eax
lea ecx, [ebp - 0x538]
mov byte [ebp - 4], 1
call fcn.0040253f
cmp dword [ebp - 0x520], 0x10
mov eax, dword [ebp - 0x534]
jae 0x4034c6
lea eax, [ebp - 0x534]
lea ecx, [ebp - 0x970]
push ecx
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4034e6
mov byte [ebp - 0x965], bl
jmp 0x4036bf
push 0x40
pop ecx
xor eax, eax
mov byte [ebp - 0x114], bl
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x9a8]
push eax
lea eax, [ebp - 0x998]
push eax
lea eax, [ebp - 0x98c]
push eax
lea eax, [ebp - 0x990]
push eax
lea eax, [ebp - 0x978]
push eax
lea eax, [ebp - 0x9a0]
push eax
lea eax, [ebp - 0x99c]
push eax
lea eax, [ebp - 0x994]
push eax
push ebx
lea eax, [ebp - 0x988]
push eax
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x970]
mov dword [ebp - 0x988], 0x104
mov dword [ebp - 0x980], 0x406
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x978], ebx
je 0x4036ac
mov dword [ebp - 0x96c], ebx
jbe 0x4036ac
mov eax, 0x405
mov dword [ebp - 0x974], eax
mov dword [ebp - 0x980], eax
lea eax, [ebp - 0x974]
push eax
lea eax, [ebp - 0x964]
push eax
lea eax, [ebp - 0x97c]
push eax
push ebx
lea eax, [ebp - 0x980]
push eax
lea eax, [ebp - 0x51c]
push eax
push dword [ebp - 0x96c]
mov dword [ebp - 0x97c], ebx
push dword [ebp - 0x970]
mov byte [ebp - 0x51c], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
je 0x4035db
cmp eax, 0x7a
jne 0x403694
mov eax, dword [ebp - 0x97c]
push 2
pop edx
cmp eax, edx
je 0x403615
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x403615
cmp eax, 4
jne 0x4035fc
mov dword [ebp - 0x558], ecx
jmp 0x403628
cmp eax, 3
jne 0x403628
mov eax, dword [ebp - 0x974]
mov dword [ebp - 0x55c], eax
mov dword [ebp - 0x558], edx
jmp 0x403628
mov eax, dword [ebp - 0x974]
mov byte [ebp + eax - 0x964], bl
mov dword [ebp - 0x558], ebx
lea eax, [ebp - 0x51c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x40364b
push str._NO_NAME_
lea eax, [ebp - 0x51c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x51c]
push eax
lea ecx, [ebp - 0x9c4]
call fcn.00402827
mov ecx, dword [ebp - 0x984]
lea eax, [ebp - 0x9c4]
push eax
mov byte [ebp - 4], 2
call fcn.004033b2
mov edi, eax
mov ecx, 0x104
lea esi, [ebp - 0x964]
push ebx
rep movsd dword es:[edi], dword [esi]
push 1
lea ecx, [ebp - 0x9c4]
mov byte [ebp - 4], 1
call fcn.00401fc9
inc dword [ebp - 0x96c]
mov eax, dword [ebp - 0x96c]
cmp eax, dword [ebp - 0x978]
jb 0x40357b
push dword [ebp - 0x970]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x965], 1
push ebx
push 1
lea ecx, [ebp - 0x538]
call fcn.00401fc9
push ebx
push 1
lea ecx, [ebp - 0x554]
call fcn.00401fc9
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x965]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f6e1
leave
ret 4