Function at 0x22798a44
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2279af07
call fcn.2279a2e0
sub esp, 0x874
mov eax, dword [0x227a16b0]
push ebx
xor eax, ebp
push esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x864]
push edi
push eax
call fcn.22792f7a
and dword [ebp - 4], 0
mov dword [esp], str.pub_store.dat
push eax
lea eax, [ebp - 0x82c]
push eax
call fcn.22791335
add esp, 0xc
lea ecx, [ebp - 0x864]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor eax, eax
cmp dword [ebp - 0x814], 0x10
mov byte [ebp - 0x810], 0
mov ecx, 0x1ff
lea edi, [ebp - 0x80f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x828]
jae 0x22798ac6
lea eax, [ebp - 0x828]
push eax
push 0x800
lea eax, [ebp - 0x810]
push eax
mov esi, 0x2279cba0
push esi
push 0x2279cb98
mov ebx, 0x2279cb90
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x22798bac
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x848]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov edi, dword [sym.imp.MSVCP71.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__]
lea eax, [ebp - 0x848]
push esi
push eax
mov byte [ebp - 4], 3
call edi
test al, al
pop ecx
pop ecx
je 0x22798b9c
call fcn.22798e2b
push eax
lea eax, [ebp - 0x880]
push eax
call fcn.22798dd3
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [ebp - 0x880]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebp - 0x848]
push esi
push eax
call edi
test al, al
pop ecx
pop ecx
jne 0x22798b1f
cmp dword [ebp - 0x814], 0x10
mov ecx, dword [ebp - 0x828]
jae 0x22798b79
lea ecx, [ebp - 0x828]
cmp dword [ebp - 0x830], 0x10
mov eax, dword [ebp - 0x844]
jae 0x22798b8e
lea eax, [ebp - 0x844]
push ecx
push eax
push 0x2279cb98
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.2279a349
leave
ret