Function at 0x1013ca00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101406db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
mov dword [ebp - 0x164], ecx
mov byte [ebp - 0x154], 0
push 0x103
push 0
lea eax, [ebp - 0x153]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [ebp - 4], 1
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x164]
add ecx, 0x2c
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0x104
lea ecx, [ebp - 0x154]
push ecx
push 0x1014deec
push 0x1014def0
push 0x1014def4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x164]
add ecx, 0x2c
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0
push 0x1014def8
push 0x1014df00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
neg eax
sbb eax, eax
add eax, 1
mov edx, dword [ebp - 0x164]
mov byte [edx + 0xd], al
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x28]
call dword [0x1014c530]
push 0x1014df08
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 8
movzx edx, al
test edx, edx
je 0x1013cb52
mov eax, dword [ebp - 0x164]
mov byte [eax + 0xd], 1
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x164]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x164]
mov edx, dword [eax + 0xd0]
call edx
movzx eax, al
test eax, eax
jne 0x1013cb4b
mov byte [ebp - 0x155], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x155]
jmp 0x1013ccba
mov dword [ebp - 0x48], 1
lea ecx, [ebp - 0x44]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x15c], esp
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x164]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x164]
mov eax, dword [edx + 0xd8]
call eax
mov byte [ebp - 0x169], al
movzx ecx, byte [ebp - 0x169]
test ecx, ecx
jne 0x1013cbc7
mov byte [ebp - 0x15d], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x15d]
jmp 0x1013ccba
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov edx, dword [ebp - 0x164]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x164]
mov edx, dword [eax + 0xd4]
call edx
movzx eax, al
test eax, eax
jne 0x1013cc1d
mov byte [ebp - 0x15e], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x15e]
jmp 0x1013ccba
cmp dword [ebp - 0x48], 0
je 0x1013cc90
mov ecx, dword [ebp - 0x164]
add ecx, 0x2c
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0x1014df0c
push 0x1014df10
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x164]
add ecx, 0x2c
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0x1014df14
push str.execed
push str.Flag
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
call fcn.10138830
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x170]
mov eax, dword [edx + 0xc]
call eax
mov byte [ebp - 0x15f], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x15f]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret