Function at 0x10007af0
Capabilities:
Create directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000efeb
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x10016018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea eax, [ebp - 0x228]
push eax
push 0x20019
push 0
push str.SOFTWAREAMDFuel
push 0x80000002
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10007c34
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push str.PerUserFilePath
push dword [ebp - 0x228]
mov dword [ebp - 0x220], 0x208
call esi
test eax, eax
jne 0x10007b90
cmp dword [ebp - 0x224], 1
movzx ebx, bl
cmove ebx, eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push str.LogLevel
push dword [ebp - 0x228]
mov dword [ebp - 0x220], 4
call esi
test eax, eax
jne 0x10007bda
mov eax, dword [0x10016888]
cmp dword [ebp - 0x224], 4
cmove eax, dword [ebp - 0x21c]
mov dword [0x10016888], eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push str.LogGroup
push dword [ebp - 0x228]
mov dword [ebp - 0x220], 4
call esi
test eax, eax
jne 0x10007c24
mov eax, dword [0x1001602c]
cmp dword [ebp - 0x224], 4
cmove eax, dword [ebp - 0x21c]
mov dword [0x1001602c], eax
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x10007ca6
lea ecx, [ebp - 0x218]
call fcn.100079f0
push 0
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
jns 0x10007c8c
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x21c], str.Could_not_create_PerUser_directory
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x1001253c
lea eax, [ebp - 0x24c]
push eax
mov dword [ebp - method.std::runtime_error.virtual_0], vtable.std::runtime_error.0
call sub.MSVCR110.dll__CxxThrowException
push str.ClientProxyLog.txt
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
cmp word [ebp - 0x218], ax
jne 0x10007cd0
xor ecx, ecx
jmp 0x10007cef
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007ce0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.10007550
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x240]
push eax
mov ecx, 0x10016928
mov dword [ebp - 4], 0
call fcn.100071d0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x22c], 8
jb 0x10007d3d
push dword [ebp - 0x240]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
push ecx
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
mov dword [0x10016920], 0xfffff
mov byte [0x10016924], al
mov dword [0x10016904], eax
call fcn.10008bb0
mov eax, dword [0x10016888]
mov dword [0x10016a18], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000e3b2
mov esp, ebp
pop ebp
ret