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

Disassembly:
sub esp, 0x5ec
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x5e8], eax
mov eax, dword [esp + 0x5f4]
push esi
mov esi, dword [esp + 0x5f4]
push edi
xor edi, edi
cmp eax, 5
ja 0x1004fac2
push ebx
push 0x1a8
mov ecx, 5
lea edx, [esp + 0x20]
sub ecx, eax
push edi
push edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edi
call fcn.100f6b80
mov al, 0x73
mov cl, 0x44
add esp, 0xc
mov byte [esp + 0x1e6], al
mov byte [esp + 0x1f1], al
lea eax, [esp + 0x1e0]
mov byte [esp + 0x1e4], cl
mov byte [esp + 0x1eb], cl
mov ecx, dword [esi]
push eax
mov bl, 0x65
push ecx
mov dword [esp + 0x24], 0x1a8
mov byte [esp + 0x1e8], 0x45
mov byte [esp + 0x1e9], 0x6e
mov byte [esp + 0x1ea], 0x75
mov byte [esp + 0x1eb], 0x6d
mov byte [esp + 0x1ed], 0x69
mov byte [esp + 0x1ef], 0x70
mov byte [esp + 0x1f0], 0x6c
mov byte [esp + 0x1f1], 0x61
mov byte [esp + 0x1f2], 0x79
mov byte [esp + 0x1f4], bl
mov byte [esp + 0x1f5], 0x76
mov byte [esp + 0x1f6], 0x69
mov byte [esp + 0x1f7], 0x63
mov byte [esp + 0x1f8], bl
mov byte [esp + 0x1fa], 0x41
mov byte [esp + 0x1fb], 0
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, edi
jne 0x1004f8d9
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x5e8]
xor ecx, esp
call fcn.100f611a
add esp, 0x5ec
ret
push edi
lea edx, [esp + 0x20]
push edx
push edi
push edi
call eax
push 0x3ff
lea eax, [esp + 0x1f9]
push edi
push eax
mov byte [esp + 0x200], 0
call fcn.100f6b80
add esp, 0xc
cmp byte [esp + 0x144], 0
je 0x1004f928
lea esi, [esp + 0x144]
movsx ecx, byte [esi]
push ecx
call fcn.100fa52a
mov byte [esi], al
add esi, 1
add esp, 4
cmp byte [esi], 0
jne 0x1004f912
mov al, 0x53
lea edx, [esp + 0x1c4]
mov byte [esp + 0x1c5], al
mov byte [esp + 0x1c7], al
push edx
lea eax, [esp + 0x148]
push eax
mov byte [esp + 0x1cc], 0x5c
mov byte [esp + 0x1ce], 0x59
mov byte [esp + 0x1d0], 0x54
mov byte [esp + 0x1d1], 0x45
mov byte [esp + 0x1d2], 0x4d
mov byte [esp + 0x1d3], 0
call fcn.100f8c40
add esp, 8
add eax, 1
push eax
lea ecx, [esp + 0x1f8]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea edx, [esp + 0xc]
push edx
push 0xf003f
push edi
lea eax, [esp + 0x200]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1004faa8
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push edi
mov byte [esp + 0x1ea], al
push edi
lea eax, [esp + 0x1dc]
push eax
push ecx
mov byte [esp + 0x1e4], 0x41
mov byte [esp + 0x1e5], 0x63
mov byte [esp + 0x1e6], 0x63
mov byte [esp + 0x1e7], bl
mov byte [esp + 0x1e8], 0x6c
mov byte [esp + 0x1e9], bl
mov byte [esp + 0x1ea], 0x72
mov byte [esp + 0x1eb], 0x61
mov byte [esp + 0x1ec], 0x74
mov byte [esp + 0x1ed], 0x69
mov byte [esp + 0x1ee], 0x6f
mov byte [esp + 0x1ef], 0x6e
mov byte [esp + 0x1f0], 0x2e
mov byte [esp + 0x1f1], 0x4c
mov byte [esp + 0x1f2], bl
mov byte [esp + 0x1f3], 0x76
mov byte [esp + 0x1f4], bl
mov byte [esp + 0x1f5], 0x6c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0xc]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push edi
lea eax, [esp + 0x1dc]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
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]
mov edi, 1
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x5e8]
xor ecx, esp
call fcn.100f611a
add esp, 0x5ec
ret
mov ecx, dword [esp + 0x5f0]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.100f611a
add esp, 0x5ec
ret