Function at 0x4192aa
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x41d004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 8
pop ecx
mov esi, 0x40323c
lea edi, [ebp - 0x20c]
rep movsd dword es:[edi], dword [esi]
push 0x1e8
xor edi, edi
lea eax, [ebp - 0x1ec]
push edi
push eax
call fcn.004067f0
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x104
push eax
mov dword [ebp - 0x624], edi
call fcn.0041919e
lea eax, [ebp - 0x624]
push eax
push 1
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419556
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ebx
push 4
pop ebx
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x628]
push eax
push edi
push edi
push 0x401ac0
push dword [ebp - 0x624]
mov dword [ebp - 0x628], edi
mov dword [ebp - 0x620], ebx
call esi
test eax, eax
jne 0x419368
mov eax, dword [ebp - 0x628]
mov dword [0x41e440], eax
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x628]
push eax
push edi
push edi
push 0x40322c
push dword [ebp - 0x624]
mov dword [ebp - 0x620], ebx
call esi
test eax, eax
jne 0x41939d
cmp dword [ebp - 0x628], edi
setne al
mov dword [0x41f0b0], eax
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x628]
push eax
push edi
push edi
push 0x401ab4
push dword [ebp - 0x624]
mov dword [ebp - 0x620], ebx
call esi
test eax, eax
jne 0x4193d2
cmp dword [ebp - 0x628], edi
setne al
mov dword [0x41e444], eax
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x401aa4
push dword [ebp - 0x624]
mov dword [ebp - 0x620], 0x208
call esi
test eax, eax
jne 0x419549
mov eax, dword [ebp - 0x620]
dec eax
cmp eax, 0x102
ja 0x419549
xor eax, eax
mov ebx, 0x206
push ebx
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push edi
push eax
call fcn.004067f0
lea eax, [ebp - 0x20c]
push 0x2e
push eax
call fcn.004062c6
mov dword [ebp - 0x62c], eax
call fcn.004152c6
lea eax, [ebp - 0x634]
push eax
call fcn.00419c4f
lea eax, [ebp - 0x634]
push eax
call fcn.00419c23
mov esi, eax
add esp, 0x1c
cmp esi, edi
je 0x419549
xor eax, eax
push ebx
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push edi
push eax
call fcn.004067f0
push dword [esi]
mov eax, dword [esi + 0x10]
push dword [esi + 4]
inc eax
push dword [esi + 8]
push dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
push 0x4031f4
mov esi, 0x104
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.0041926f
mov eax, dword [ebp - 0x62c]
add esp, 0x30
cmp eax, edi
je 0x4194f6
xor ecx, ecx
mov word [eax], cx
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x4031dc
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0041926f
add esp, 0x1c
jmp 0x419520
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x4031c0
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0041926f
add esp, 0x18
mov eax, dword [0x41f0b4]
cmp eax, edi
je 0x419530
push eax
call fcn.00417b08
pop ecx
push 0x4031b8
lea eax, [ebp - 0x414]
push eax
push 0x41f0b4
call fcn.00419922
add esp, 0xc
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004066f8
leave
ret 4