Function at 0x140010480
Capabilities:
Create thread
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x140080040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
xor r13d, r13d
mov dword [rbp - 0x69], r13d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x21], r13
lea r8d, [r13 + 0x16]
lea rdx, str.FLiNGTrainerNamedPipe_
lea rcx, [rbp - 0x39]
call fcn.140002b20
mov r8d, ebx
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.14000c1d0
test al, al
je 0x140010ad2
lea rcx, [rdi + 0x360]
lea r8d, [r13 + 7]
lea rdx, [0x14006fd08]
call fcn.1400023c0
lea rcx, [rdi + 0x3a0]
lea r8d, [r13 + 0x15]
lea rdx, str.v1.0_v20241016
call fcn.1400023c0
mov r14d, reloc.OLEAUT32.dll_SafeArrayDestroy
mov r8d, r14d
lea rdx, str.The_Riftbreaker
lea rcx, [rdi + 0x380]
call fcn.1400023c0
lea rcx, [rdi + 0x3c0]
lea r8d, [r13 + 0x1e]
lea rdx, str.v1.0_v20241016_Plus_19_Trainer
call fcn.1400023c0
nop
mov r12, qword [rdi + 0x390]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov ecx, r13d
mov qword [rbp + 0x17], rcx
mov qword [rbp + 0x1f], r14
mov byte [rbp + 7], cl
mov dword [rbp - 0x69], 1
cmp r12, r14
jbe 0x1400105a4
mov rdx, r12
lea rcx, [rbp + 7]
call fcn.140006830
mov ecx, r13d
mov qword [rbp + 0x17], rcx
mov esi, r13d
mov r14, qword [rbp + 0x1f]
jmp 0x1400105ac
mov rsi, r13
test r12, r12
je 0x140010616
movzx ebx, byte [rbp - 0x49]
lea rax, [rdi + 0x380]
cmp qword [rdi + 0x398], 7
jbe 0x1400105c8
mov rax, qword [rdi + 0x380]
movzx r9d, byte [rax + rsi*2]
cmp rcx, r14
jae 0x1400105f2
lea rax, [rcx + 1]
mov qword [rbp + 0x17], rax
lea rax, [rbp + 7]
cmp r14, 0xf
cmova rax, qword [rbp + 7]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140010604
movzx r8d, bl
mov edx, 1
lea rcx, [rbp + 7]
call fcn.140002de0
inc rsi
cmp rsi, r12
jae 0x140010616
mov r14, qword [rbp + 0x1f]
mov rcx, qword [rbp + 0x17]
jmp 0x1400105b0
mov rdx, qword [0x1400837d8]
cmp rdx, 0xf
jbe 0x140010657
mov rcx, qword [0x1400837c0]
inc rdx
cmp rdx, 0x1000
jb 0x140010652
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140010b1d
mov rcx, r8
call fcn.1400387a0
movups xmm0, xmmword [rbp + 7]
movaps xmmword [0x1400837c0], xmm0
movups xmm1, xmmword [rbp + 0x17]
movaps xmmword [0x1400837d0], xmm1
xor r8d, r8d
lea rdx, [0x14006be7e]
lea rcx, [0x1400837a0]
call fcn.1400021b0
lea rcx, [rdi + 0x3e0]
mov r8d, 0x30a
lea rdx, [0x14006fdb0]
call fcn.1400023c0
lea rcx, [rdi + 0x400]
mov r8d, 0x4b4
lea rdx, str._n_nNum_1___God_Mode_Ignore_Hits_When_activated__enemies_cant_deal_damage_to_player_and_players_buildings__but_you_may_still_receive_environment_damage__such_as_explosion_and_traps_._nNum_2___Infinite_Ammo_nNum_3___Infinite_Skill__Consumable_Usage_nNum_4___Skills__Consumables_Instant_Cooldown_nNum_5___Instant_Building__Upgrade_Activate_before_building_upgrade_start._This_will_set_the_building_upgrade_time_to_0__but_theres_a_few_seconds_of_building_animation_that_cant_be_skipped._nNum_6___Instant_Research_nNum_7___Ignore_Building__Upgrade_Requirement_When_activated__you_can_build__upgrade_buildings_even_if_you_dont_have_materials__but_if_you_do_have_materials__they_will_be_used__some_game_versions_may_not_use_materials_at_all_._nNum_8___Ignore_Crafting_Requirement_When_activated__you_can_craft_items_even_if_you_dont_have_materials__but_if_you_do_have_materials__they_will_be_used._nNum_0___Set_Game_Speed_n_nCtrlNum_1___Edit_AI_Cores_nCtrlNum_2___Edit_Energy_nCtrlNum_3___Edit_Carbonium_nCtrlNum_4___Edit_Ironium_nCtrlNum_5___Edit_Cobalt_nCtrlNum_6___Edit_Palladium_nCtrlNum_7___Edit_Uranium_nCtrlNum_8___Edit_Titanium_nCtrlNum_9___Edit_Plant_Biomass_nCtrlNum_0___Edit_Animal_Biomass_n_n
call fcn.1400023c0
mov rcx, rdi
call fcn.14000f720
mov rcx, rdi
call fcn.14000fa20
lea r14, [0x140083850]
mov esi, dword [0x1400832dc]
test esi, esi
je 0x140010781
mov ebx, dword [0x1400832d8]
test ebx, ebx
je 0x140010781
mov rcx, r14
call fcn.140037fa4
test eax, eax
jne 0x140010aff
mov eax, dword [0x14008389c]
cmp eax, 0x7fffffff
je 0x140010b0a
mov dword [rbp - 0x59], 9
mov dword [rbp - 0x69], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x69]
mov r8d, 4
lea rdx, [rbp - 0x59]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp - 0x69], esi
mov dword [rbp - 0x59], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x59]
mov r8d, 4
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp - 0x69], ebx
mov dword [rbp - 0x59], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x59]
mov r8d, 4
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r14
call fcn.140037fac
mov rcx, rdi
call fcn.140010b80
lea rbx, [rdi + 0x500]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140013480
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x140010855
mov rcx, r14
call fcn.140037fa4
test eax, eax
jne 0x140010aff
mov eax, dword [0x14008389c]
cmp eax, 0x7fffffff
je 0x140010b0a
mov dword [rbp - 0x69], 3
mov dword [rbp - 0x59], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x59]
mov r8d, 4
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
mov dword [rbp - 0x69], eax
mov dword [rbp - 0x59], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x59]
mov r8d, 4
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx]
mov qword [rbp - 0x69], rax
mov dword [rbp - 0x59], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x59]
mov r8d, 8
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r14
call fcn.140037fac
mov rcx, r14
call fcn.140037fa4
test eax, eax
jne 0x140010aff
mov eax, dword [0x14008389c]
cmp eax, 0x7fffffff
je 0x140010b0a
mov dword [rbp - 0x69], 5
mov dword [rbp - 0x59], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x59]
mov r8d, 4
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rax, [0x14000f430]
mov qword [rbp - 0x69], rax
mov dword [rbp - 0x59], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x59]
mov r8d, 8
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r14
call fcn.140037fac
lea r8, [rdi + 0x400]
lea rdx, [rdi + 0x3e0]
call fcn.14002ab60
mov qword [rbp + 7], r14
mov rcx, r14
call fcn.140037fa4
test eax, eax
jne 0x140010aff
mov eax, dword [0x14008389c]
cmp eax, 0x7fffffff
je 0x140010b0a
mov dword [rbp - 0x69], 4
mov dword [rbp - 0x59], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x59]
mov r8d, 4
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rdi + 0x3e0]
lea rcx, [rbp - 0x19]
call fcn.140012d50
mov rdx, rax
mov rcx, rdi
call fcn.14000c520
lea rdx, [rdi + 0x400]
lea rcx, [rbp - 0x19]
call fcn.140012d50
mov rdx, rax
mov rcx, rdi
call fcn.14000c520
nop
mov rcx, r14
call fcn.140037fac
mov ecx, 8
call fcn.1400387d4
mov qword [rax], rdi
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x1400133d0]
xor edx, edx
xor ecx, ecx
call fcn.140043c98
mov qword [rbp - 0x59], rax
test rax, rax
je 0x140010b68
cmp dword [rbp - 0x51], 0
je 0x140010b5d
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.140037f04
test eax, eax
jne 0x140010b5d
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x59], xmm0
lea ecx, [rax + 8]
call fcn.1400387d4
mov qword [rax], rdi
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140013400]
xor edx, edx
xor ecx, ecx
call fcn.140043c98
mov qword [rbp - 0x59], rax
test rax, rax
je 0x140010b4e
cmp dword [rbp - 0x51], 0
je 0x140010b43
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.140037f04
test eax, eax
jne 0x140010b43
lea ecx, [rax + 8]
call fcn.1400387d4
mov qword [rax], rdi
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140013240]
xor edx, edx
xor ecx, ecx
call fcn.140043c98
mov qword [rbp - 0x39], rax
test rax, rax
je 0x140010b34
cmp dword [rbp - 0x31], 0
je 0x140010b29
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.140037f04
test eax, eax
jne 0x140010b29
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x39], xmm0
cmp byte [rdi + 0x440], al
jne 0x140010acc
nop
mov rcx, rdi
call fcn.14000f160
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [rdi + 0x440], 0
je 0x140010ab0
cmp dword [rbp - 0x31], 0
jne 0x140010b23
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140038780
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 5
call fcn.140037e68
int3
dec eax
mov dword [0x14008389c], eax
mov ecx, 6
call fcn.140037e68
nop
call fcn.14003f69c
nop
call fcn.140042dec
nop
mov ecx, 1
call fcn.140037e68
nop
mov dword [rbp - 0x31], r13d
mov ecx, 6
call fcn.140037e68
nop
mov ecx, 1
call fcn.140037e68
nop
mov dword [rbp - 0x51], r13d
mov ecx, 6
call fcn.140037e68
nop
mov ecx, 1
call fcn.140037e68
nop
mov dword [rbp - 0x51], r13d
mov ecx, 6
call fcn.140037e68
int3