Function at 0x412cc9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x41326d
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xa4], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x9c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
test eax, eax
je 0x412d41
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x94], eax
push 1
push dword [ebp - 0x94]
call fcn.004132a2
pop ecx
pop ecx
jmp 0x41326b
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x412da1
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x41326b
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], 8
mov dword [ebp - 8], 0
jmp 0x412dee
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x17
jl 0x412ed3
mov dword [ebp - 0x24], 0xa3df603f
mov dword [ebp - 0x24], 0
jmp 0x412e0f
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xfffffff9
je 0x412e5f
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0xc
jmp 0x412e2c
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfffffff1
jge 0x412e5d
push 1
push 1
push 0
push 0x1cd0
push 0x5724
push 0
push 0x28be
push 0x3659
push 0x52cc
call fcn.0040abdd
add esp, 0x24
jmp 0x412e25
jmp 0x412e08
mov byte [ebp - 9], 0
push 0x5518
push 0x1765
push 1
push 0x4068
push 0x1c7
push 0x2cc1
push 0x5c8f
push 0x6321
push 0x715a
push 0
push 0
push 0x3e1a
push 0x2964
lea eax, [ebp - 9]
push eax
push 1
push 0x6d7d
push 1
push 0x5273
push 0x5276
push 0x5e89
push 0x3e6a
push 0x1556
push 0x5b17
call fcn.00411b23
add esp, 0x5c
jmp 0x412de7
mov dword [ebp - 8], 0xffffffe3
jmp 0x412ee3
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xfffffffe
jg 0x412f3e
mov dword [ebp - 0x14], 0xfffffffe
mov dword [ebp - 0x1c], 0
jmp 0x412f00
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x412f16
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xf0], 0xffffffff
jmp 0x412ef9
mov dword [ebp - 0x14], 0
jmp 0x412f26
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x412f3c
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xf0], 0x83d7
jmp 0x412f1f
jmp 0x412edc
push 0x4c68
push 1
push 0x2fce
push 0x2051
push 0x2d1e
push 1
push 5
push 0x3be9
push 0x3c6b
push 0x2c10
push 0x72b2
push 0x2d35
push 0x4fa8
push 0x3edf
push 0x3a14
push 0x644d
push 0
push 0
push 0
push 0x4cd6
push 0x48e8
push 0x179f
call fcn.00414fca
add esp, 0x58
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
shl eax, 4
mov ecx, dword [ebp - 0xb0]
mov ecx, dword [ecx]
lea eax, [eax + ecx*8 + 0x4b09b8]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x2c]
mov eax, dword [eax + ecx*4]
mov dword [edx], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x24]
and eax, 0x4000000
je 0x41326b
mov dword [ebp - 0x10], 0x831713b9
mov dword [ebp - 0xc0], 0xffffffff
mov dword [ebp - 0x44], 2
mov dword [ebp - 0xc8], 0x2b74c38b
mov dword [ebp - 0xe4], 0x8464d91b
mov dword [ebp - 0x74], 0x21c760fc
mov dword [ebp - 0x30], 0x739425a3
mov dword [ebp - 0xd0], 0xe691
mov dword [ebp - 0x20], 0
jmp 0x413031
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x413047
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xfc], 0xf2465cd3
jmp 0x41302a
mov dword [ebp - 0x10], 0xfffffff6
jmp 0x413057
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x1c
jne 0x41325c
mov dword [ebp - 0x28], 0x7be7e550
mov dword [ebp - 0x34], 1
mov dword [ebp - 0xe0], 0x33c2251
mov dword [ebp - 0x7c], 9
mov dword [ebp - 0xdc], 1
mov dword [ebp - 0xc4], 0xa30b9130
mov dword [ebp - 0x3c], 0xbc92
mov dword [ebp - 4], 0
jmp 0x4130ab
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x4130c1
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x10c], 1
jmp 0x4130a4
mov dword [ebp - 4], 0
jmp 0x4130d1
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x4130e7
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xd8], 0xbe8f2100
jmp 0x4130ca
lea eax, [ebp - 0x30]
push eax
push 0x1b1d
push 0x6da2
push 1
push 0
call fcn.00426835
add esp, 0x14
mov dword [ebp - 0x28], 9
jmp 0x413111
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x1d
jle 0x413257
mov dword [ebp - 0x5c], 0x87c3cb87
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x30], eax
jle 0x413133
mov dword [ebp - 0x48], 1
jmp 0x413137
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x48]
jg 0x413148
mov dword [ebp - 0x58], 1
jmp 0x41314c
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0x1cc0
jle 0x41315e
mov dword [ebp - 0x40], 1
jmp 0x413162
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x40], eax
jle 0x413173
mov dword [ebp - 0x50], 1
jmp 0x413177
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
add eax, 9
cmp eax, dword [ebp - 0x34]
jle 0x413191
mov dword [ebp - 0x38], 1
jmp 0x413195
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 1
jbe 0x4131a4
mov dword [ebp - 0x6c], 1
jmp 0x4131a8
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xcc], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xd8]
cmp dword [ebp - 0x3c], eax
jge 0x4131cc
mov dword [ebp - 0x4c], 1
jmp 0x4131d0
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x4c]
jne 0x4131e1
mov dword [ebp - 0x54], 1
jmp 0x4131e5
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
push 0x5080
push 0x73e7
push 0x4de7
push 0
push 0x3d0c
push 0x636
push 1
lea eax, [ebp - 0x7c]
push eax
push 0x1b1d
push 1
push 0xb39
push 0x70bc
push 0x46b8
push 0x6c49
push 0x31f5
push 0x389e
push 0
push 0x92e
push 0x1de3
push 0x4817
push 0x7be6
call fcn.00413759
add esp, 0x54
jmp 0x41310a
jmp 0x413050
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
or eax, 0x200
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
jmp 0x41329e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x8c], eax
push dword [ebp - 0x84]
push 0x624d
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
push eax
push 1
call fcn.0040c404
add esp, 0x10
mov esp, ebp
pop ebp
ret