Function at 0x100395b1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006509c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f8
push esi
push edi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100395e6
push 1
call fcn.1003a159
pop ecx
jmp 0x1003a149
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x134], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x10c]
movzx eax, byte [eax]
test eax, eax
je 0x10039653
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
movzx eax, byte [eax]
test eax, eax
je 0x1003964e
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x1003a149
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xf0], eax
and dword [ebp - 0x1dc], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x1d8]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x1dc]
push eax
push dword [ebp - 0x114]
push 0x37d8
push 0x2ba6
call fcn.10021902
pop ecx
pop ecx
call eax
test eax, eax
je 0x10039f62
push 1
lea ecx, [ebp - 0x78]
call fcn.1000c02f
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 0x453606de
mov dword [ebp - 0x18], 0x1720d700
mov dword [ebp - 0x60], 0x9d73ae4c
mov dword [ebp - 0x50], 0xbd29a2a6
push 0x305f
lea eax, [ebp - 0x1a4]
push eax
push 0x5444
lea eax, [ebp - 0x78]
push eax
push 0
call fcn.100366fb
add esp, 0x14
mov dword [ebp - 0x10], 0
jmp 0x10039702
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x10039a93
mov dword [ebp - 0x30], 0x11738ab6
mov dword [ebp - 0x4c], 0
jmp 0x10039723
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jge 0x10039736
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x5c], 0x1307
jmp 0x1003971c
mov dword [ebp - 0x30], 0
jmp 0x10039746
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jg 0x10039a6d
push 1
lea ecx, [ebp - 0x190]
call fcn.1000c02f
mov byte [ebp - 4], 1
push 0x1a3a
push 0x68cb
lea eax, [ebp - 0x190]
push eax
push 0x3767
push 1
push 0
push 1
lea eax, [ebp - 0x1b0]
push eax
call fcn.1003c4ea
add esp, 0x20
cmp dword [ebp - 0x30], 0
je 0x100397ae
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1000c0cd
cmp dword [eax], 0
je 0x100397ae
mov dword [ebp - 0xdc], 1
jmp 0x100397b5
and dword [ebp - 0xdc], 0
push 0
lea ecx, [ebp - 0x78]
call fcn.1000c0cd
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x18]
push 0
lea ecx, [ebp - 0x78]
call fcn.1000c0cd
cmp esi, dword [eax]
jg 0x100397e1
mov dword [ebp - 0xb0], 1
jmp 0x100397e8
and dword [ebp - 0xb0], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1000c0cd
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax]
jl 0x10039809
mov dword [ebp - 0x84], 1
jmp 0x10039810
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 7
jb 0x10039825
mov dword [ebp - 0xf8], 1
jmp 0x1003982c
and dword [ebp - 0xf8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x5c]
cmp dword [ebp - 0xf8], eax
jle 0x1003984a
mov dword [ebp - 0x8c], 1
jmp 0x10039851
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0x8c]
jl 0x1003986b
mov dword [ebp - 0x12c], 1
jmp 0x10039872
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x198], eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1000c0cd
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1000c0cd
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1000c0cd
cmp dword [eax], 0x7772
jge 0x100398b0
mov dword [ebp - 0xc4], 1
jmp 0x100398b7
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x60], eax
mov esi, dword [ebp - 0x60]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1000c0cd
cmp dword [eax], esi
jge 0x100398de
mov dword [ebp - 0x94], 1
jmp 0x100398e5
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 1
je 0x10039903
mov eax, 0x45702377
test eax, eax
je 0x10039903
mov dword [ebp - 0xec], 1
jmp 0x1003990a
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x50], eax
mov esi, dword [ebp - 0x50]
push 0
lea ecx, [ebp - 0x190]
call fcn.1000c0cd
mov dword [eax], esi
mov dword [ebp - 0x18], 0
jmp 0x10039935
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x10039a59
mov dword [ebp - 0x11c], 0x9b4ccc41
mov dword [ebp - 0x58], 0x33ec
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x194], eax
xor eax, eax
inc eax
cmp eax, 0x5680a256
jg 0x1003997b
mov dword [ebp - 0x9c], 1
jmp 0x10039982
and dword [ebp - 0x9c], 0
xor eax, eax
sub eax, dword [ebp - 0x9c]
cmp eax, 3
je 0x1003999b
mov dword [ebp - 0xcc], 1
jmp 0x100399a2
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0xcc], eax
jge 0x100399b9
mov dword [ebp - 0xa4], 1
jmp 0x100399c0
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 1
jne 0x100399d5
mov dword [ebp - 0xe4], 1
jmp 0x100399dc
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0xe4]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0x5c]
cmp eax, dword [ebp - 0x18]
jge 0x10039a00
mov dword [ebp - 0xac], 1
jmp 0x10039a07
and dword [ebp - 0xac], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x5c]
cmp eax, dword [ebp - 0xac]
jge 0x10039a25
mov dword [ebp - 0xd4], 1
jmp 0x10039a2c
and dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0x6c56
jl 0x10039a44
mov dword [ebp - 0xb4], 1
jmp 0x10039a4b
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x60], eax
jmp 0x1003992e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x190]
call fcn.1000c0b1
jmp 0x1003973f
mov byte [ebp - 0x1d], 0
push 0x34a3
push 0
lea eax, [ebp - 0x1d]
push eax
push 0x1307
push 0x328e
call fcn.10042f3a
add esp, 0x14
jmp 0x100396fb
cmp dword [ebp - 0x50], 1
jge 0x10039aa5
mov dword [ebp - 0xf4], 1
jmp 0x10039aac
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x50]
sub ecx, 0x3ba0
cmp eax, ecx
jge 0x10039ace
mov dword [ebp - 0xbc], 1
jmp 0x10039ad5
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0xbc]
dec eax
mov dword [ebp - 0x10], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.1000c0b1
mov dword [ebp - 0x104], 0xee
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x24], 8
mov dword [ebp - 0x124], 1
mov dword [ebp - 0x1ac], 0xb950
mov dword [ebp - 0x40], 0
jmp 0x10039b2b
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x10039b41
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x1e8], 0x99244325
jmp 0x10039b24
push 1
lea eax, [ebp - 0x34]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
push 0xa05
push 1
call fcn.10032ffb
add esp, 0x18
mov dword [ebp - 0x24], 2
jmp 0x10039b6c
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x10039b9c
mov dword [ebp - 0x34], 0
jmp 0x10039b82
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jg 0x10039b9a
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x1e8]
mov dword [ebp - 0x124], eax
jmp 0x10039b7b
jmp 0x10039b65
mov eax, dword [ebp - 0x1c8]
and eax, dword [ebp - 0x104]
jne 0x10039bb3
mov dword [ebp - 0x80], 1
jmp 0x10039bb7
and dword [ebp - 0x80], 0
mov al, byte [ebp - 0x80]
mov byte [ebp - 0x11], al
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x178], 0xfffffff8
mov dword [ebp - 0x174], 0xfffffff8
mov dword [ebp - 0x170], 0xfffffff8
mov dword [ebp - 0x16c], 0xfffffff8
lea ecx, [ebp - 0x61]
call fcn.1000c0dc
push eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x204]
call fcn.1000c0df
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x184]
call fcn.1000c08b
mov dword [ebp - 4], 2
mov dword [ebp - 0x118], 0xce2e
mov dword [ebp - 0x54], 0
jmp 0x10039c46
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x10039c59
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x7c], 9
jmp 0x10039c3f
push 0x683c
lea eax, [ebp - 0x44]
push eax
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.10039093
add esp, 0x10
mov dword [ebp - 0x3c], 0
jmp 0x10039c80
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jg 0x10039f32
mov dword [ebp - 0x1bc], 0x2703d9b9
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x2c], 9
and dword [ebp - 0x164], 0
and dword [ebp - 0x160], 0
and dword [ebp - 0x15c], 0
and dword [ebp - 0x158], 0
lea ecx, [ebp - 0x69]
call fcn.1000c0dc
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x1fc]
call fcn.1000c0df
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x144]
call fcn.1000c08b
mov byte [ebp - 4], 3
mov dword [ebp - 0x108], 0xfffffff7
mov dword [ebp - 0x100], 1
push 1
lea eax, [ebp - 0x108]
push eax
push 0x1fd4
push 0x44df
push 0
push 0x653a
call fcn.10031026
add esp, 0x18
push 0x3e85
push 0x44f8
push 0
push 0x22eb
push 0x5355
lea eax, [ebp - 0x100]
push eax
push 0xf4b
push 0x68c8
push 0x45b6
push 0x6725
push 0x5e58
push 0xecc
call fcn.10036c0a
add esp, 0x30
mov dword [ebp - 0x2c], 3
jmp 0x10039d80
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x10039f1e
mov dword [ebp - 0x68], 0xfffffff9
push 1
lea ecx, [ebp - 0x150]
call fcn.1000c02f
mov byte [ebp - 4], 4
push 0x2e5b
push 0x82e
lea eax, [ebp - 0x1c0]
push eax
push 0x56a3
push 0
push 1
lea eax, [ebp - 0x150]
push eax
call fcn.100428d4
add esp, 0x1c
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x68]
inc ecx
mov dword [ebp - 0x68], ecx
test eax, eax
jne 0x10039e95
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x184]
call fcn.1000c0cd
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
push 1
lea ecx, [ebp - 0x144]
call fcn.1000c0cd
push 1
lea ecx, [ebp - 0x144]
call fcn.1000c0cd
cmp dword [eax], 5
je 0x10039e2d
push 0
lea ecx, [ebp - 0x184]
call fcn.1000c0cd
cmp dword [eax], 0
je 0x10039e2d
mov dword [ebp - 0x88], 1
jmp 0x10039e34
and dword [ebp - 0x88], 0
push 0
lea ecx, [ebp - 0x150]
call fcn.1000c0cd
mov ecx, dword [ebp - 0x44]
imul ecx, dword [ebp - 0x88]
add ecx, 0x52b9cbad
cmp dword [eax], ecx
jne 0x10039e61
mov dword [ebp - 0x90], 1
jmp 0x10039e68
and dword [ebp - 0x90], 0
push 0
lea ecx, [ebp - 0x150]
call fcn.1000c0cd
mov ecx, dword [ebp - 0x90]
imul ecx, dword [eax]
cmp ecx, dword [ebp - 0x118]
jge 0x10039e8c
cmp dword [ebp - 0x44], 0
jne 0x10039e95
and dword [ebp - 0x98], 0
jmp 0x10039e9f
mov dword [ebp - 0x98], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7c]
imul eax, dword [ebp - 0x98]
test eax, eax
je 0x10039ed2
push 0
lea ecx, [ebp - 0x144]
call fcn.1000c0cd
cmp dword [eax], 0
je 0x10039ed2
mov dword [ebp - 0xa0], 1
jmp 0x10039ed9
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0x52a2
jge 0x10039ef1
mov dword [ebp - 0xa8], 1
jmp 0x10039ef8
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
neg eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x7c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x150]
call fcn.1000c0b1
jmp 0x10039d79
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x144]
call fcn.1000c0b1
jmp 0x10039c79
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x184]
call fcn.1000c0b1
mov eax, dword [ebp - 0x1c8]
and eax, 0x101
je 0x10039f52
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0xf0]
mov cl, byte [ebp - 0x11]
mov byte [eax], cl
jmp 0x1003a149
mov dword [ebp - 0x28], 1
mov dword [ebp - 0xd8], 0xadf86095
mov dword [ebp - 0x1a0], 0xffffffff
mov dword [ebp - 0x48], 0
jmp 0x10039f8d
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x10039fa3
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x1f4], 0xffff
jmp 0x10039f86
mov dword [ebp - 0x28], 2
jmp 0x10039fb3
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x1003a11b
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xe0], 1
mov dword [ebp - 0x1c], 0
jmp 0x10039fde
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jg 0x1003a116
mov dword [ebp - 0x38], 0xab27
mov dword [ebp - 0x130], 0xe924f63a
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, 0x9d44c039
test eax, eax
je 0x1003a022
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1f4], 0
jne 0x1003a07e
mov eax, 0xb3bf
test eax, eax
jne 0x1003a07e
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x1c]
cmp eax, 5
ja 0x1003a043
mov dword [ebp - 0xb8], 1
jmp 0x1003a04a
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
neg eax
cmp eax, dword [ebp - 0x38]
jne 0x1003a063
mov dword [ebp - 0xc0], 1
jmp 0x1003a06a
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
sub eax, dword [ebp - 0x1c]
jne 0x1003a07e
and dword [ebp - 0xc8], 0
jmp 0x1003a088
mov dword [ebp - 0xc8], 1
cmp dword [ebp - 0xc8], 0x401dbdae
jge 0x1003a0a0
mov dword [ebp - 0x120], 1
jmp 0x1003a0a7
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x38], 1
ja 0x1003a0c2
mov dword [ebp - 0xd0], 1
jmp 0x1003a0c9
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0xe0], eax
jge 0x1003a0f8
mov dword [ebp - 0xe8], 1
jmp 0x1003a0ff
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0xe8]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x130], eax
jmp 0x10039fd7
jmp 0x10039fac
push 0x2f79
push 0
push 0x5ab5
push 0x6f20
push 0x55a2
push 0x6b30
push 1
call fcn.1003319b
add esp, 0x1c
mov eax, dword [ebp - 0xf0]
mov byte [eax], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret