Function at 0x1000997b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100615a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x94
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x10009cd5
lea eax, [ebp + 0x18]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x10009c88
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], 0x3d87
mov dword [ebp - 0x60], str.tnwzjxrq_ljcbmoyl_ndby_kyicvkhvs_xcdzvw_sryzp_gzacycys_eiudpealg_jcillafvu_fvjqruofs_hxlezyh
cmp dword [ebp - 0x3c], 0x3dbc
jle 0x10009a6b
and dword [ebp - 0x34], 0
jmp 0x10009a1d
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x4a06
jge 0x10009a6b
and dword [ebp - 0x24], 0
jmp 0x10009a33
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x25bf
jge 0x10009a69
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
sar eax, cl
cdq
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov ecx, 0x1007cc18
call fcn.10013d0a
jmp 0x10009a2c
jmp 0x10009a16
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x40], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0x3ccc
jge 0x10009a8b
mov edx, dword [ebp - 0x60]
mov ecx, 0x1007cc18
call fcn.1001875a
jmp 0x10009aa7
or dword [ebp - 4], 0xffffffff
jmp 0x10009ab1
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], 0x4874
mov dword [ebp - 0x54], str.bvhax_zilph_vbbedirq_dimpox_fnsubczgo_iutcxrh_ezh_ublobmpn_iiadgg_lzzmfc
cmp dword [ebp - 0x48], 0x4909
jle 0x10009b5d
and dword [ebp - 0x30], 0
jmp 0x10009ae2
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x482b
jge 0x10009b4b
and dword [ebp - 0x2c], 0
jmp 0x10009af8
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x63c3
jge 0x10009b49
and dword [ebp - 0x18], 0
jmp 0x10009b0e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xd0e
jge 0x10009b47
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
shl eax, cl
cdq
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
push dword [ebp - 0x90]
push dword [ebp - 0x94]
mov ecx, 0x1007cc18
call fcn.10013d0a
jmp 0x10009b07
jmp 0x10009af1
jmp 0x10009adb
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor eax, eax
mov word [ebp - 0x36], ax
lea eax, [ebp - 0x36]
push eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
shr eax, 1
inc eax
push eax
lea ecx, [ebp - 0xa4]
call fcn.1001430f
mov dword [ebp - 4], 2
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0xa4]
call fcn.1001447c
dec eax
mov dword [ebp - 0x80], eax
jmp 0x10009ba2
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x80]
jae 0x10009c11
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xa4]
call fcn.10014484
mov dword [ebp - 0x70], eax
and dword [ebp - 0x28], 0
jmp 0x10009bcf
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x28], 2
jae 0x10009c0f
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
add eax, dword [ebp - 0x20]
xor edx, edx
div dword [0x10079ac8]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
movzx edx, byte [eax + edx]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
movzx ecx, byte [ecx + eax]
call fcn.10001180
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x28]
mov byte [ecx], al
jmp 0x10009bc1
jmp 0x10009b9b
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.100143b3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.100143ae
jmp 0x10009d11
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10009cb6
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 4
jge 0x10009cd3
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x7c]
call fcn.10002262
mov dword [eax], 0x8bd85027
jmp 0x10009cab
jmp 0x10009d11
push 0x2226
push 0x6933
push 0x6c51
push 0x5a8f
push 0x4f47
push 0x298a
push 0
push 0x69e6
push 0x6241
push 0x71a8
push 0x1305
call fcn.10010080
add esp, 0x2c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret