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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420c41
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x4231e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2d4], ecx
and dword [ebp - 0x2e8], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2d4]
mov eax, dword [eax + 0x3c]
cmp eax, dword [ecx + 0x5c]
jne 0x416c10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x324], 0xffff0003
and dword [ebp - 0x314], 0
mov dword [ebp - 0x320], 0x27
mov dword [ebp - 0x304], 0x10
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x308], eax
and dword [ebp - 0x2b8], 0
lea eax, [ebp - 0x2b8]
push eax
push 0x401cec
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x416c10
and dword [ebp - 0x2bc], 0
jmp 0x416a04
mov eax, dword [ebp - 0x2bc]
inc eax
mov dword [ebp - 0x2bc], eax
push 0x50
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0x2bc]
push dword [ebp - 0x2b8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x416c04
mov dword [ebp - 0x2d8], 0x200
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0x2b8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x416bff
push 2
pop eax
imul eax, eax, 0
movzx eax, word [ebp + eax - 0x2b0]
test eax, eax
jne 0x416a88
lea eax, [ebp - 0xb0]
push eax
push 0x405498
lea eax, [ebp - 0x2b0]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x484
call fcn.0040b3d0
mov dword [ebp - 0x2c4], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c4], 0
je 0x416ab8
mov ecx, dword [ebp - 0x2c4]
call fcn.00413e89
mov dword [ebp - 0x2c8], eax
jmp 0x416abf
and dword [ebp - 0x2c8], 0
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x2dc], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jne 0x416ae9
jmp 0x4169f7
mov eax, dword [ebp - 0x2b4]
mov dword [eax + 4], 5
lea eax, [ebp - 0xb0]
push eax
call fcn.0040b696
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x2cc], 0
je 0x416b29
mov eax, dword [ebp - 0x2b4]
add eax, 8
push eax
push dword [ebp - 0x2cc]
call dword [sym.imp.ole32.dll_CLSIDFromString]
jmp 0x416b89
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 0
je 0x416b7d
push 1
mov eax, dword [ebp - 0x2c0]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2d0], eax
mov ecx, dword [ebp - 0x2d0]
call dword [0x42486c]
mov ecx, dword [ebp - 0x2c0]
call dword [ebp - 0x2d0]
mov dword [ebp - 0x2e4], eax
jmp 0x416b84
and dword [ebp - 0x2e4], 0
jmp 0x4169f7
push 2
pop eax
imul eax, eax, 0
xor ecx, ecx
mov edx, dword [ebp - 0x2b4]
mov word [edx + eax + 0x18], cx
mov eax, dword [ebp - 0x2b4]
mov dword [eax + 0x6c], 0x10
mov eax, dword [ebp - 0x2b4]
mov dword [eax + 0x70], 0x10
xor eax, eax
mov ecx, dword [ebp - 0x2b4]
mov word [ecx + 0x68], ax
xor eax, eax
mov ecx, dword [ebp - 0x2b4]
mov word [ecx + 0x68], ax
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2fc], eax
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x310], eax
lea eax, [ebp - 0x328]
push eax
mov ecx, dword [ebp - 0x2d4]
call fcn.004179ae
mov ecx, eax
call fcn.00417f0b
jmp 0x4169f7
push dword [ebp - 0x2b8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041f3a0
leave
ret 4