Function at 0x405e30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448ac0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push esi
mov dword [ebp - 0x18], 0
push edi
mov dword [ebp - 0x30], 0x200
call fcn.004058e0
push ecx
mov esi, esp
mov dword [ebp - 0x10], esi
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x40637e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.SWxWDU3lf8ZmN51XmZjuZFxiyY3lBjZmZ5MXHtjUeVxgtfnlcSZmR58XGZrgeVxmxag
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004038c0
test al, al
jne 0x405ea8
push 0x45
push str.SWxWDU3lf8ZmN51XmZjuZFxiyY3lBjZmZ5MXHtjUeVxgtfnlcSZmR58XGZrgeVxmxag
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.004023d0
add esp, 4
mov dword [ebp - 4], 1
mov ebx, 1
mov ecx, dword [eax]
mov eax, 0x45d9a0
mov dword [ebp - 0x18], ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405ef6
test dx, dx
je 0x405ef2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405ef6
add eax, 4
add ecx, 4
test dx, dx
jne 0x405ed0
xor eax, eax
jmp 0x405efb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4060b7
push ecx
mov esi, esp
mov dword [ebp - 0x10], esi
call fcn.00401620
test eax, eax
je 0x40637e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.S0d6mNHp1qSQBscU0MuZnZIpB39qyTwJ80f1cNYewY4wGQgDdPnEOoATt1ECQU5Tdw
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.004038c0
test al, al
jne 0x405f47
push 0x45
push str.S0d6mNHp1qSQBscU0MuZnZIpB39qyTwJ80f1cNYewY4wGQgDdPnEOoATt1ECQU5Tdw
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004023d0
add esp, 4
mov dword [ebp - 4], 3
mov ebx, 3
mov ecx, dword [eax]
mov eax, 0x45d9a0
mov dword [ebp - 0x18], ebx
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405f96
test dx, dx
je 0x405f92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405f96
add eax, 4
add ecx, 4
test dx, dx
jne 0x405f70
xor eax, eax
jmp 0x405f9b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4060b7
push ecx
mov esi, esp
mov dword [ebp - 0x10], esi
call fcn.00401620
test eax, eax
je 0x40637e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.TW9j0Yn1fqU1J9WX1NSeYF9T5Un1CHU1J9wX05SafV9TRT31f6U1J9SX1NSqfV9ThUg
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.004038c0
test al, al
jne 0x405fe7
push 0x45
push str.TW9j0Yn1fqU1J9WX1NSeYF9T5Un1CHU1J9wX05SafV9TRT31f6U1J9SX1NSqfV9ThUg
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004023d0
add esp, 4
mov dword [ebp - 4], 5
mov ebx, 7
mov ecx, dword [eax]
mov eax, 0x45d9a0
mov dword [ebp - 0x18], ebx
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406036
test dx, dx
je 0x406032
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406036
add eax, 4
add ecx, 4
test dx, dx
jne 0x406010
xor eax, eax
jmp 0x40603b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4060b7
push ecx
mov ecx, esp
push str.cTZWcNjdwlEHA3DcBBwlXHAQYcDcbrEHA3ccHtw7N3AQSGzdwJEHA3TcBBwbN3AQBcA
call fcn.004030e0
lea ecx, [ebp - 0x20]
call fcn.004023d0
add esp, 4
mov ebx, 0xf
mov ecx, dword [eax]
mov eax, 0x45d9a0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406089
test dx, dx
je 0x406085
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406089
add eax, 4
add ecx, 4
test dx, dx
jne 0x406063
xor eax, eax
jmp 0x40608e
sbb eax, eax
or eax, 1
test eax, eax
je 0x4060b7
mov ecx, 0x45d9a0
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4060a0
sub ecx, edx
mov byte [ebp - 0x11], al
sar ecx, 1
cmp ecx, 0x24
je 0x4060bb
mov byte [ebp - 0x11], 1
or edi, 0xffffffff
test bl, 8
je 0x4060e3
mov edx, dword [ebp - 0x20]
and ebx, 0xfffffff7
mov dword [ebp - 0x18], ebx
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4060e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 3
test bl, 4
je 0x40610f
mov edx, dword [ebp - 0x2c]
and ebx, 0xfffffffb
mov dword [ebp - 0x18], ebx
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40610f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 1
test bl, 2
je 0x40613b
mov edx, dword [ebp - 0x24]
and ebx, 0xfffffffd
mov dword [ebp - 0x18], ebx
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40613b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x406161
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406161
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x11], 0
je 0x40636d
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x406388
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.N2tMQZ2QkPCjNgoKh4ikayYloBEUEXPwhRTHxAkTRRI8wE1gM2PgZHNAzU
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 6
call fcn.004038c0
test al, al
jne 0x4061ac
push 0x3b
push str.N2tMQZ2QkPCjNgoKh4ikayYloBEUEXPwhRTHxAkTRRI8wE1gM2PgZHNAzU
lea ecx, [ebp - 0x18]
call fcn.00403de0
mov dword [ebp - 4], 7
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x406392
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push str.M3hzpZH4ZSEAxa1FhYjzRhEX
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.004038c0
test al, al
jne 0x4061f1
push 0x18
push str.M3hzpZH4ZSEAxa1FhYjzRhEX
lea ecx, [ebp - 0x20]
call fcn.00403de0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
push 0x101
push 0
push ecx
mov esi, esp
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp - 0x18]
add ebx, 0xfffffff0
mov ecx, ebx
call fcn.0040afe0
add eax, 0x10
lea ecx, [ebp - 0x1c]
mov dword [esi], eax
call fcn.004023d0
add esp, 4
push dword [eax]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40624a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push ecx
mov esi, esp
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.0040afe0
add eax, 0x10
lea ecx, [ebp - 0x1c]
mov dword [esi], eax
call fcn.004023d0
add esp, 4
push dword [eax]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4062a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x238]
push eax
call fcn.0042d764
add esp, 4
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esi
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x40639c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.QzNTZNWZEUIG0
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.004038c0
test al, al
jne 0x406300
push 0xe
push str.QzNTZNWZEUIG0
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.004023d0
add esp, 4
push dword [eax]
push 0x45d9a0
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x10]
add esp, 0xc
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406339
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, edi
mov edx, dword [ebp - 0x24]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406354
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [ebx + 0xc], edi
dec edi
test edi, edi
jg 0x40636d
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004013f0
push 0x80004005
call fcn.004013f0
push 0x80004005
call fcn.004013f0
push 0x80004005
call fcn.004013f0
int3