Function at 0x10008bb0
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000af86
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x10010040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0xe8cb7c]
push str..DataLocalparty.ini
mov bh, byte [eax + 8]
test bh, bh
setne bl
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10008c87
push 0xb0
lea eax, [ebp - 0xd0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0xd0]
push 2
push str..DataLocalparty.ini
call fcn.10005ae0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0
call fcn.10005a30
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xd4], eax
lea ecx, [ebp - 0xcc]
call fcn.10005950
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov edx, 0x95d450
test bh, bh
je 0x10008ca5
mov eax, dword [0x7bc4f04]
cmp byte [eax + 0xe], 1
jne 0x10008ca5
mov ecx, dword [0xe8cb7c]
call edx
xor bl, bl
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp bl, byte [0x10010843]
jne 0x10008cd8
push str..DataLocalparty.ini
push 0xffffffffffffffff
push 0x10010be0
push str.party
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 0xffffffff
je 0x10008cd8
cmp byte [0x10010098], 0
je 0x10008d06
test bl, bl
mov byte [0x10010098], 0
push str..DataLocalparty.ini
mov ecx, 0x1000d7ac
mov byte [0x10010843], bl
mov eax, 0x1000d7a8
cmove eax, ecx
push eax
push 0x10010be0
push str.party
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor esi, esi
nop
mov edx, esi
lea ecx, [ebp - 0x134]
call fcn.10009060
lea eax, [ebp - 0x134]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x104]
call fcn.10009200
add esp, 4
cmp dword [eax + 0x14], 0xf
jbe 0x10008d41
mov eax, dword [eax]
push str..DataLocalparty.ini
push 0xa
lea ecx, [ebp - 0x1c]
push ecx
push 0x1000d7ac
push eax
push str.party
call ebx
mov ecx, dword [ebp - 0xf0]
cmp ecx, 0xf
jbe 0x10008d93
mov edx, dword [ebp - 0x104]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10008d89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008f60
push ecx
push edx
call fcn.1000a0e8
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0xf
mov byte [ebp - 0x104], 0
cmp ecx, 0xf
jbe 0x10008def
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10008de5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008f60
push ecx
push edx
call fcn.1000a0e8
add esp, 8
lea ecx, [ebp - 0x1c]
mov eax, 0x10010be0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10008e17
test dl, dl
je 0x10008e13
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10008e17
add eax, 2
add ecx, 2
test dl, dl
jne 0x10008df7
xor eax, eax
jmp 0x10008e1c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10008f3a
mov eax, 0xe8cb7c
mov ecx, dword [eax]
cmp byte [ecx + 8], 0
je 0x10008e38
mov eax, 0x95d450
jmp 0x10008e48
mov eax, dword [0x7bc4f04]
cmp byte [eax + 0xe], 0
jne 0x10008e4a
mov eax, 0x95d190
call eax
mov edx, esi
lea ecx, [ebp - 0xe8]
call fcn.10009060
lea eax, [ebp - 0xe8]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x11c]
call fcn.10009200
add esp, 4
cmp dword [eax + 0x14], 0xf
jbe 0x10008e7b
mov eax, dword [eax]
push str..DataLocalparty.ini
push 0x1000d42d
push eax
push str.party
call edi
mov ecx, dword [ebp - 0x108]
cmp ecx, 0xf
jbe 0x10008ec7
mov edx, dword [ebp - 0x11c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10008ebd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008f60
push ecx
push edx
call fcn.1000a0e8
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0xf
mov byte [ebp - 0x11c], 0
cmp ecx, 0xf
jbe 0x10008f1f
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10008f15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008f60
push ecx
push edx
call fcn.1000a0e8
add esp, 8
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0xf
mov byte [ebp - 0xe8], 0
inc esi
cmp esi, 5
jl 0x10008d10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10009d90
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3