Function at 0x1006fb40
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x5ec
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x5e8], eax
push esi
mov esi, dword [esp + 0x5f4]
push edi
xor edi, edi
mov al, al
mov eax, dword [esp + 0x5fc]
cmp eax, 5
ja 0x1006ff10
mov ecx, 5
sub ecx, eax
push ebx
mov dword [esp + 0x18], ecx
cmp dword [0x101d08b8], 0xffffd2f4
mov dword [esp + 0x10], edi
mov edi, edi
push eax
pop eax
push 0x1a8
lea edx, [esp + 0x20]
push edi
push edx
call fcn.1012ea60
add esp, 0xc
cmp dword [0x101d08b8], 0xffffd2f4
mov dword [esp + 0x1c], 0x1a8
cmp dword [0x101d08c0], 0xffffa7c6
mov dl, dl
mov cl, 0x44
mov al, 0x73
mov bl, 0x65
mov byte [esp + 0x1cc], 0x45
mov byte [esp + 0x1cd], 0x6e
mov byte [esp + 0x1ce], 0x75
mov byte [esp + 0x1cf], 0x6d
mov byte [esp + 0x1d0], cl
mov byte [esp + 0x1d1], 0x69
mov byte [esp + 0x1d2], al
mov byte [esp + 0x1d3], 0x70
mov byte [esp + 0x1d4], 0x6c
mov byte [esp + 0x1d5], 0x61
mov byte [esp + 0x1d6], 0x79
mov byte [esp + 0x1d7], cl
mov byte [esp + 0x1d8], bl
mov byte [esp + 0x1d9], 0x76
mov byte [esp + 0x1da], 0x69
mov byte [esp + 0x1db], 0x63
mov byte [esp + 0x1dc], bl
mov byte [esp + 0x1dd], al
mov byte [esp + 0x1de], 0x41
mov byte [esp + 0x1df], 0
cmp dword [0x101d08b0], 0xffffd0e7
mov ecx, dword [esi]
lea eax, [esp + 0x1cc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x101d08d4], 0xfffffede
cmp eax, edi
jne 0x1006fca3
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x5e8]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x5ec
ret
push edi
lea edx, [esp + 0x20]
push edx
push edi
push edi
call eax
cmp dword [0x101d08d0], 0xffffb36b
mov esi, esi
push 0x3ff
lea eax, [esp + 0x1f9]
push edi
push eax
mov byte [esp + 0x200], 0
call fcn.1012ea60
add esp, 0xc
mov ebp, ebp
mov bh, bh
cmp byte [esp + 0x144], 0
je 0x1006fd10
lea esi, [esp + 0x144]
lea esp, [esp]
movsx ecx, byte [esi]
push ecx
call fcn.101322aa
mov byte [esi], al
add esp, 4
add esi, 1
cmp dword [0x101d08cc], 0x4dfc
cmp byte [esi], 0
jne 0x1006fcf0
mov al, 0x53
mov byte [esp + 0x1c4], 0x5c
mov byte [esp + 0x1c5], al
mov byte [esp + 0x1c6], 0x59
mov byte [esp + 0x1c7], al
mov byte [esp + 0x1c8], 0x54
mov byte [esp + 0x1c9], 0x45
mov byte [esp + 0x1ca], 0x4d
mov byte [esp + 0x1cb], 0
cmp dword [0x101d08b4], 0x5441
lea edx, [esp + 0x1c4]
push edx
lea eax, [esp + 0x148]
push eax
call fcn.1012e9d0
add esp, 8
cmp dword [0x101d08c4], 0xab9
add eax, 1
push eax
lea ecx, [esp + 0x1f8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [0x101d08b8], 0xffffd2f4
cmp dword [0x101d08bc], 0xffff896c
mov dword [esp + 0x14], 4
cmp dword [0x101d08b0], 0xffffd0e7
lea edx, [esp + 0xc]
push edx
push 0xf003f
push edi
lea eax, [esp + 0x200]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1006fef6
cmp dword [0x101d08cc], 0x4dfc
mov byte [esp + 0x1e0], 0x41
mov byte [esp + 0x1e1], 0x63
mov byte [esp + 0x1e2], 0x63
mov byte [esp + 0x1e3], bl
mov byte [esp + 0x1e4], 0x6c
mov byte [esp + 0x1e5], bl
mov byte [esp + 0x1e6], 0x72
mov byte [esp + 0x1e7], 0x61
mov byte [esp + 0x1e8], 0x74
mov byte [esp + 0x1e9], 0x69
mov byte [esp + 0x1ea], 0x6f
mov byte [esp + 0x1eb], 0x6e
mov byte [esp + 0x1ec], 0x2e
mov byte [esp + 0x1ed], 0x4c
mov byte [esp + 0x1ee], bl
mov byte [esp + 0x1ef], 0x76
mov byte [esp + 0x1f0], bl
mov byte [esp + 0x1f1], 0x6c
mov byte [esp + 0x1f2], al
cmp dword [0x101d08b0], 0x2f18
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push edi
push edi
lea eax, [esp + 0x1f0]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dh, dh
mov ecx, dword [esp + 0xc]
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push edi
lea eax, [esp + 0x1f0]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [0x101d08c0], 0x5839
push 0x40
push edi
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x101d08b8], 0xffffd2f4
mov edi, 1
cmp dword [0x101d08c8], 0xffff89b0
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x5e8]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x5ec
ret
mov ecx, dword [esp + 0x5f0]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.1012e3ba
add esp, 0x5ec
ret