Function at 0x1000ed93
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e524
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x108
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1000f294
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x9c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x60], 0x6fdb
mov dword [ebp - 0x98], str.vkjwfhp_atngvnhef_ifrylnrp
cmp dword [ebp - 0x60], 0x72af
jle 0x1000ef02
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
and dword [ebp - 0x2c], 0
jmp 0x1000ee34
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xf0d
jge 0x1000eef0
and dword [ebp - 0x38], 0
jmp 0x1000ee4e
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x4bce
jge 0x1000eeeb
and dword [ebp - 0x24], 0
jmp 0x1000ee68
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6e73
jge 0x1000eee6
and dword [ebp - 0x34], 0
jmp 0x1000ee7e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x483a
jge 0x1000eee1
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
sar eax, cl
and eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], edx
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
lea ecx, [ebp - 0x100]
call fcn.10001b3f
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
call fcn.1000fdc8
push eax
call fcn.10047293
pop ecx
lea ecx, [ebp - 0x100]
call fcn.1000fdbe
jmp 0x1000ee77
jmp 0x1000ee61
jmp 0x1000ee47
jmp 0x1000ee2d
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x1000ef76
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0xc0]
call fcn.10010549
mov ecx, dword [ebp - 0x94]
mov cx, word [ecx]
mov word [eax], cx
jmp 0x1000f250
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x58], 0x6ccf
mov dword [ebp - 0x90], str.gqccwzdwp_hntqx_ubp_bdzzegum_tflo_vgsp_dwdlyrofo_bgcjlbmq_rbv_syovbcm_cumtm_mbxmi_gbgwg
cmp dword [ebp - 0x58], 0x6f5d
jle 0x1000f07d
and dword [ebp - 0x20], 0
jmp 0x1000efbf
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x55ea
jge 0x1000f07d
and dword [ebp - 0x28], 0
jmp 0x1000efd9
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x5661
jge 0x1000f078
and dword [ebp - 0x30], 0
jmp 0x1000eff3
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x5425
jge 0x1000f073
and dword [ebp - 0x1c], 0
jmp 0x1000f009
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5e11
jge 0x1000f06e
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
shl edx, cl
xor eax, edx
cdq
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x118]
call fcn.10001b3f
pop ecx
pop ecx
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
call fcn.1000fdc8
push eax
call fcn.10047293
pop ecx
lea ecx, [ebp - 0x118]
call fcn.1000fdbe
jmp 0x1000f002
jmp 0x1000efec
jmp 0x1000efd2
jmp 0x1000efb8
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
push 2
mov ecx, dword [ebp - 0x18]
call fcn.10010144
push 0
mov ecx, dword [ebp - 0x18]
call fcn.10010144
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x1000f0d6
push 1
mov ecx, dword [ebp - 0x18]
call fcn.10010144
cmp dword [eax], 0
jne 0x1000f0d6
push 0xfffffffffffffffb
pop eax
test eax, eax
jne 0x1000f0d6
mov eax, 0x7d7c
test eax, eax
jne 0x1000f0d6
and dword [ebp - 0x78], 0
jmp 0x1000f0dd
mov dword [ebp - 0x78], 1
push 2
mov ecx, dword [ebp - 0x18]
call fcn.10010144
imul eax, dword [eax], 3
test eax, eax
jbe 0x1000f0fc
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x1000f0fc
and dword [ebp - 0x44], 0
jmp 0x1000f103
mov dword [ebp - 0x44], 1
cmp dword [ebp - 0x44], 0xafbf
jl 0x1000f115
mov dword [ebp - 0x3c], 1
jmp 0x1000f119
and dword [ebp - 0x3c], 0
push 2
mov ecx, dword [ebp - 0x18]
call fcn.10010144
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 1
jb 0x1000f15f
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x1000f15f
and dword [ebp - 0x54], 0
jmp 0x1000f166
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x54], eax
jle 0x1000f17e
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x1000f17e
and dword [ebp - 0x4c], 0
jmp 0x1000f185
mov dword [ebp - 0x4c], 1
cmp dword [ebp - 0x4c], 0x9716e289
ja 0x1000f197
mov dword [ebp - 0x5c], 1
jmp 0x1000f19b
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x5c], eax
je 0x1000f1ae
mov dword [ebp - 0x40], 1
jmp 0x1000f1b2
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0x81d68c2a
jbe 0x1000f1c4
mov dword [ebp - 0x80], 1
jmp 0x1000f1c8
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0xffffffff
jl 0x1000f1e4
mov dword [ebp - 0x48], 1
jmp 0x1000f1e8
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x48], eax
jg 0x1000f1fb
mov dword [ebp - 0x50], 1
jmp 0x1000f1ff
and dword [ebp - 0x50], 0
push 1
mov ecx, dword [ebp - 0x88]
call fcn.10010144
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x58], 0x6a70
jge 0x1000f22a
push dword [ebp - 0x90]
call fcn.10047293
pop ecx
jmp 0x1000f246
or dword [ebp - 4], 0xffffffff
jmp 0x1000f250
mov dword [ebp - 4], 2
cmp dword [ebp - 0x60], 0x6cc4
jge 0x1000f26c
push dword [ebp - 0x98]
call fcn.10047293
pop ecx
jmp 0x1000f288
or dword [ebp - 4], 0xffffffff
jmp 0x1000f292
jmp 0x1000f2bc
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xa8], eax
push 0
push dword [ebp - 0xa0]
push dword [ebp - 0xa8]
call fcn.10008d2e
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret