Function at 0x10018660
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x101136c7
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
mov eax, dword [0x1013b024]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
mov dword [esp + 0x25c], ebx
call fcn.10002f30
add esp, 4
push 0x1011e9f8
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x206
lea ecx, [esp + 0x4a]
push ebx
push ecx
mov word [esp + 0x50], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x258], 1
mov eax, dword [esp + 0x10]
mov esi, 8
cmp dword [esp + 0x24], esi
jae 0x10018705
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
call dword [0x101193e4]
cmp dword [esp + 0x40], esi
mov eax, dword [esp + 0x2c]
jae 0x1001871e
lea eax, [esp + 0x2c]
push eax
push 0x104
lea edx, [esp + 0x4c]
push edx
push 0x1011daac
push str.SaveImagePath
push str.BackupParam
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ax, word [esp + 0x44]
cmp ax, 0x5c
jne 0x10018786
push 0x1011eac0
mov ecx, edi
call dword [0x10119420]
lea ecx, [esp + 0x28]
mov byte [esp + 0x258], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xc]
mov dword [esp + 0x258], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, str.2nas
jmp 0x10018959
cmp ax, 0x41
jb 0x10018792
cmp ax, 0x5a
jbe 0x100187a3
mov eax, dword [esp + 0x44]
add eax, 0xffffff9f
cmp ax, 0x19
ja 0x1001892e
test byte [0x10154060], 1
jne 0x100187c5
or dword [0x10154060], 1
call fcn.10095450
push 0x10118390
call fcn.1010dd6d
add esp, 4
mov edx, dword [esp + 0x44]
call fcn.10016850
test eax, eax
je 0x1001880f
push str.local
mov ecx, edi
call dword [0x10119420]
lea ecx, [esp + 0x28]
mov byte [esp + 0x258], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xc]
mov dword [esp + 0x258], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, 0x1011fcac
jmp 0x10018959
mov edx, dword [esp + 0x44]
call fcn.100168a0
test eax, eax
je 0x10018859
push str.local
mov ecx, edi
call dword [0x10119420]
lea ecx, [esp + 0x28]
mov byte [esp + 0x258], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xc]
mov dword [esp + 0x258], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, 0x1011fcb0
jmp 0x10018959
mov esi, dword [esp + 0x44]
call fcn.100168f0
test eax, eax
je 0x100188a3
push str.local
mov ecx, edi
call dword [0x10119420]
lea ecx, [esp + 0x28]
mov byte [esp + 0x258], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xc]
mov dword [esp + 0x258], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, str.2ext
jmp 0x10018959
mov edx, dword [0x10151804]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x44]
push ecx
mov ecx, 0x10151804
call eax
test al, al
mov ecx, edi
je 0x100188f6
push str.cloud_drive
call dword [0x10119420]
lea ecx, [esp + 0x28]
mov byte [esp + 0x258], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xc]
mov dword [esp + 0x258], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, str.2cloud
jmp 0x10018959
push str.local
call dword [0x10119420]
lea ecx, [esp + 0x28]
mov byte [esp + 0x258], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xc]
mov dword [esp + 0x258], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, str.2local
jmp 0x10018959
lea ecx, [esp + 0x28]
mov byte [esp + 0x258], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xc]
mov dword [esp + 0x258], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, str.unknown
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.1010dc50
add esp, 0x250
ret