Function at 0x4094b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4203ba
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x42f024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0xc]
push 0x200
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x210]
push 0
push eax
mov dword [ebp - 0x228], 0
call fcn.0040ebe0
push 0xc
call fcn.0040cc69
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x218], esi
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test esi, esi
je 0x409553
push 0x428f00
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call edi
mov dword [esi], eax
test eax, eax
je 0x4097a9
jmp 0x409555
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x21c], esi
test esi, esi
je 0x4097b3
push 0xc
mov dword [ebp - 4], 1
call fcn.0040cc69
mov esi, eax
add esp, 4
mov dword [ebp - 0x218], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x4095ac
push 0x428f00
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call edi
mov dword [esi], eax
test eax, eax
je 0x4097bd
jmp 0x4095ae
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x218], esi
test esi, esi
je 0x4097c7
mov edi, dword [ebp - 0x22c]
mov ecx, edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x220], 0x200
mov dword [ebp - 0x214], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4095e3
sub ecx, edx
sar ecx, 1
je 0x409612
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
call fcn.004097e0
mov esi, dword [ebp - 0x218]
jmp 0x40962b
mov eax, dword [ebx + 4]
test eax, eax
je 0x40961d
mov eax, dword [eax]
jmp 0x40961f
xor eax, eax
push eax
lea ecx, [ebp - 0x21c]
call fcn.00409270
mov edi, dword [ebp - 0x21c]
test edi, edi
je 0x409639
mov eax, dword [edi]
jmp 0x40963b
xor eax, eax
lea ecx, [ebp - 0x214]
push ecx
push 0x20019
push 0
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x214]
test ecx, ecx
je 0x4096b8
test esi, esi
je 0x409698
mov eax, dword [esi]
test eax, eax
je 0x409698
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x409692
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x230]
push eax
push 0
push dword [esi]
push dword [ebp - 0x214]
jmp 0x4096b2
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x224]
test eax, eax
jne 0x4096da
lea eax, [ebp - 0x210]
push eax
call fcn.00409270
mov dword [ebp - 0x228], 1
jmp 0x4096e4
push 0x428f00
call fcn.00409270
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x4096f5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test esi, esi
je 0x409746
lea eax, [esi + 8]
push eax
call ecx
test eax, eax
jne 0x409740
mov eax, dword [esi]
test eax, eax
je 0x40971e
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x409735
push eax
call fcn.0040cc99
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0040cc5b
add esp, 8
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test edi, edi
je 0x409785
lea eax, [edi + 8]
push eax
call ecx
test eax, eax
jne 0x409785
mov eax, dword [edi]
test eax, eax
je 0x409763
push eax
call ebx
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x40977a
push eax
call fcn.0040cc99
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.0040cc5b
add esp, 8
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040cc4a
mov esp, ebp
pop ebp
ret 8
push 0x8007000e
call fcn.0040cae0
push 0x8007000e
call fcn.0040cae0
push 0x8007000e
call fcn.0040cae0
push 0x8007000e
call fcn.0040cae0
int3