Function at 0x140248e00
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2e0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rsi, rcx
call fcn.1400494c0
mov rdi, rax
mov byte [rsp + 0xd0], 0
xor edx, edx
mov r8d, Ordinal_512
lea rcx, [rsp + 0xd1]
call sub.ntdll.dll_memset
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x20]
xor ebx, ebx
test eax, eax
je 0x140248f40
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
call fcn.1400494c0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
test eax, eax
je 0x140248ea0
lea rcx, [rsp + 0x28]
call fcn.140248aa0
mov r12d, ebx
mov rbp, rbx
nop
nop
nop
mov rdi, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
test rdx, rdx
jne 0x140248ec4
mov rcx, rbx
jmp 0x140248eca
mov rcx, rdi
sub rcx, rdx
movsxd rax, r12d
cmp rax, rcx
jae 0x140248f26
test rdx, rdx
je 0x140248edf
sub rdi, rdx
cmp rbp, rdi
jb 0x140248eea
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdx, qword [rsp + 0x30]
movsx r8d, byte [rdx + rbp]
lea rdx, str._c:part.ini
lea rcx, [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_sprintf]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140248f21
add r12d, 1
add rbp, 1
jmp 0x140248eb0
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140248f9a
mov r8, qword [rsp + 0x40]
sub r8, rdx
lea rcx, [rsp + 0x28]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::allocator_char_::deallocate_char____ptr64__unsigned_long_long_unsigned___int64_____ptr64]
jmp 0x140248f9a
mov r8d, reloc.MFC80U.DLL_Ordinal_512
lea rdx, [rsp + 0xd0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x5c
lea rcx, [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_strrchr]
test rax, rax
je 0x1402495ff
mov byte [rax], bl
lea rdi, [rsp + 0xd0]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.part.ini]
mov qword [rdi - 1], rax
movzx eax, word [0x140374c28]
mov word [rdi + 7], ax
lea r9, [rsp + 0xd0]
mov r8d, 4
lea rdx, str.Number
lea rcx, [0x140374c34]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, eax
lea r9, [rsp + 0xd0]
xor r8d, r8d
lea rdx, str.Part1
lea rcx, [0x140374c44]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r12d, eax
lea r9, [rsp + 0xd0]
xor r8d, r8d
lea rdx, str.Part2
lea rcx, [0x140374c54]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebp, eax
lea r9, [rsp + 0xd0]
xor r8d, r8d
lea rdx, str.Part3
lea rcx, [0x140374c64]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r13d, eax
lea r9, [rsp + 0xd0]
xor r8d, r8d
lea rdx, str.Part4
lea rcx, [0x140374c74]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r14d, eax
lea r9, [rsp + 0xd0]
xor r8d, r8d
lea rdx, str.Part5
lea rcx, [0x140374c84]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r15d, eax
lea r9, [rsp + 0xd0]
xor r8d, r8d
lea rdx, str.Part6
lea rcx, [0x140374c94]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0xd0]
xor r8d, r8d
lea rdx, str.RemoveLabels
lea rcx, str.CONFIG
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
movsxd r8, eax
xor r9d, r9d
mov edx, 0xf1
mov rcx, qword [rsi + reloc.MFC80U.DLL_Ordinal_1040]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp edi, 3
jne 0x1402491c4
xor r9d, r9d
mov edx, 0xf1
lea r8d, [rdi - 2]
mov rcx, qword [rsi + 0x170]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf1
mov rcx, qword [rsi + 0x218]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf1
mov rcx, qword [rsi + 0x2c0]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf1
mov rcx, qword [rsi + 0x368]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdi, [rsi + 0xf0]
cmp rbx, 2
jge 0x140249147
mov edx, 1
mov rcx, qword [rdi]
call sub.MFC80U.DLL_Ordinal_2183
jmp 0x140249151
xor edx, edx
mov rcx, qword [rdi]
call sub.MFC80U.DLL_Ordinal_2183
add rbx, 1
add rdi, 8
cmp rbx, 6
jl 0x140249132
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.MFC80U.DLL_Ordinal_334
mov rcx, qword [rsi + 0x608]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.MFC80U.DLL_Ordinal_334
mov rcx, qword [rsi + 0x6b0]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.MFC80U.DLL_Ordinal_334
mov rcx, qword [rsi + 0x758]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.MFC80U.DLL_Ordinal_334
mov rcx, qword [rsi + 0x800]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140249438
cmp edi, 4
jne 0x1402492af
xor r9d, r9d
mov edx, 0xf1
lea r8d, [rdi - 3]
mov rcx, qword [rsi + 0x218]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf1
mov rcx, qword [rsi + 0x170]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf1
mov rcx, qword [rsi + 0x2c0]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf1
mov rcx, qword [rsi + 0x368]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdi, [rsi + 0xf0]
cmp rbx, 3
jge 0x14024924a
mov edx, 1
mov rcx, qword [rdi]
call sub.MFC80U.DLL_Ordinal_2183
jmp 0x140249254
xor edx, edx
mov rcx, qword [rdi]
call sub.MFC80U.DLL_Ordinal_2183
add rbx, 1
add rdi, 8
cmp rbx, 6
jl 0x140249235
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.MFC80U.DLL_Ordinal_334
mov rcx, qword [rsi + 0x6b0]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.MFC80U.DLL_Ordinal_334
mov rcx, qword [rsi + 0x758]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.MFC80U.DLL_Ordinal_334
mov rcx, qword [rsi + 0x800]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140249438
cmp edi, 5
jne 0x140249382
xor r9d, r9d
mov edx, 0xf1
lea r8d, [rdi - 4]
mov rcx, qword [rsi + 0x2c0]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf1
mov rcx, qword [rsi + 0x170]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf1
mov rcx, qword [rsi + 0x218]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf1
mov rcx, qword [rsi + 0x368]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdi, [rsi + 0xf0]
cmp rbx, 4
jge 0x140249335
mov edx, 1
mov rcx, qword [rdi]
call sub.MFC80U.DLL_Ordinal_2183
jmp 0x14024933f
xor edx, edx
mov rcx, qword [rdi]
call sub.MFC80U.DLL_Ordinal_2183
add rbx, 1
add rdi, 8
cmp rbx, 6
jl 0x140249320
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.MFC80U.DLL_Ordinal_334
mov rcx, qword [rsi + 0x758]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.MFC80U.DLL_Ordinal_334
mov rcx, qword [rsi + 0x800]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140249438
cmp edi, 6
jne 0x140249438
xor r9d, r9d
mov edx, 0xf1
lea r8d, [rdi - 5]
mov rcx, qword [rsi + 0x368]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf1
mov rcx, qword [rsi + 0x218]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf1
mov rcx, qword [rsi + 0x2c0]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf1
mov rcx, qword [rsi + 0x170]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdi, [rsi + 0xf0]
cmp rbx, 5
jge 0x140249408
mov edx, 1
mov rcx, qword [rdi]
call sub.MFC80U.DLL_Ordinal_2183
jmp 0x140249412
xor edx, edx
mov rcx, qword [rdi]
call sub.MFC80U.DLL_Ordinal_2183
add rbx, 1
add rdi, 8
cmp rbx, 6
jl 0x1402493f3
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.MFC80U.DLL_Ordinal_334
mov rcx, qword [rsi + 0x800]
call qword [sym.imp.USER32.dll_SendMessageW]
mov word [rsp + 0x50], 0
xor edx, edx
lea r8d, [rdx + 0x76]
lea rcx, [rsp + 0x52]
call sub.ntdll.dll_memset
test r12d, r12d
jne 0x140249472
mov rcx, qword [rsi + 0xf0]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.MFC80U.DLL_Ordinal_334
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140249497
mov r8d, 0xa
lea rdx, [rsp + 0x50]
mov ecx, r12d
call qword [sym.imp.ntdll.dll__itow]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi + 0xf0]
call sub.MFC80U.DLL_Ordinal_6104
test ebp, ebp
jne 0x1402494b9
mov rcx, qword [rsi + 0xf8]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.MFC80U.DLL_Ordinal_334
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1402494dd
mov r8d, 0xa
lea rdx, [rsp + 0x50]
mov ecx, ebp
call qword [sym.imp.ntdll.dll__itow]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi + 0xf8]
call sub.MFC80U.DLL_Ordinal_6104
test r13d, r13d
jne 0x140249500
mov rcx, qword [rsi + 0x100]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.MFC80U.DLL_Ordinal_334
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140249525
mov r8d, 0xa
lea rdx, [rsp + 0x50]
mov ecx, r13d
call qword [sym.imp.ntdll.dll__itow]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi + 0x100]
call sub.MFC80U.DLL_Ordinal_6104
test r14d, r14d
jne 0x140249548
mov rcx, qword [rsi + 0x108]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.MFC80U.DLL_Ordinal_334
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14024956d
mov r8d, 0xa
lea rdx, [rsp + 0x50]
mov ecx, r14d
call qword [sym.imp.ntdll.dll__itow]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi + 0x108]
call sub.MFC80U.DLL_Ordinal_6104
test r15d, r15d
jne 0x140249590
mov rcx, qword [rsi + 0x110]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.MFC80U.DLL_Ordinal_334
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1402495b5
mov r8d, 0xa
lea rdx, [rsp + 0x50]
mov ecx, r15d
call qword [sym.imp.ntdll.dll__itow]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi + 0x110]
call sub.MFC80U.DLL_Ordinal_6104
mov eax, dword [rsp + 0x20]
test eax, eax
jne 0x1402495db
mov rcx, qword [rsi + reloc.MFC80U.DLL_Ordinal_280]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.MFC80U.DLL_Ordinal_334
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1402495ff
mov r8d, 0xa
lea rdx, [rsp + 0x50]
mov ecx, eax
call qword [sym.imp.ntdll.dll__itow]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi + reloc.MFC80U.DLL_Ordinal_280]
call sub.MFC80U.DLL_Ordinal_6104
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.140161080
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret