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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rdi, rcx
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x16]
lea rdx, str.FLiNGTrainerNamedPipe_
lea rcx, [rbp - 0x20]
call fcn.140005130
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140030fe0
test al, al
je 0x140038912
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x34]
lea rdx, str._n0Y3
lea rcx, [rbp - 0x20]
call fcn.140005130
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140036e00
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x63a
jb 0x140038495
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x63a
mov r8d, 0xc74
lea rdx, [0x1400c8f60]
mov rcx, rbx
call fcn.14009e7c0
mov word [rbx + 0xc74], r14w
jmp 0x1400384a6
lea r9, [0x1400c8f60]
mov edx, 0x63a
call fcn.140020fd0
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x7d9
jb 0x1400384e1
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x7d9
mov r8d, 0xfb2
lea rdx, str._n_nNum_1___Edit_Credits_nNum_2___Edit_Metals_nNum_3___Edit_Crystals_nNum_4___Edit_Influence_nNum_5___Increase_Max_Military_Supply_This_option_gives_extra_max_military_supply_amount__the_final_max_military_supply_amount_will_be_higher_than_the_input_value._nNum_6___Edit_Tauranite_nNum_7___Edit_Indurium_nNum_8___Edit_Kalanide_nNum_9___Edit_Andvar_nNum_0___Edit_Quarnium_n_nCtrlNum_1___Increase_Civilian_Orbit_Slots_This_option_gives_extra_civilian_orbit_slots__the_final_slot_amount_will_be_higher_than_the_input_value._nCtrlNum_2___Increase_Military_Orbit_Slots_This_option_gives_extra_military_orbit_slots__the_final_slot_amount_will_be_higher_than_the_input_value._nCtrlNum_3___Instant_Research_Takes_effect_when_research_progress_increases._nCtrlNum_4___Instant_Build_Structures_Takes_effect_when_building_progress_increases._nCtrlNum_5___Instant_Build_Ships_Takes_effect_when_building_progress_increases._nCtrlNum_6___Instant_Build_Items_Takes_effect_when_building_progress_increases._nCtrlNum_7___Instant_Planet_Development__Survey_Takes_effect_when_development_survey_progress_increases._nCtrlNum_8___Set_Game_Speed_n_nAltNum_1___Player_Units:_Infinite_Shield_Takes_effect_when_unit_stat_values_update__wont_work_if_the_game_is_paused_._nAltNum_2___Player_Units:_Infinite_Armor_Takes_effect_when_unit_stat_values_update__wont_work_if_the_game_is_paused_._nAltNum_3___Player_Units:_Infinite_Hull_Takes_effect_when_unit_stat_values_update__wont_work_if_the_game_is_paused_._n_nHull_will_be_restored_to_max_hull_value._nAltNum_4___Player_Units:_Infinite_Antimatter_Takes_effect_when_antimatter_value_changes._nAltNum_5___Edit_Mouse_Hovered_Unit_Exp_nAltNum_6___Drain_AI_Units_Shield_Takes_effect_when_unit_stat_values_update__wont_work_if_the_game_is_paused_._nAltNum_7___Drain_AI_Units_Armor_Takes_effect_when_unit_stat_values_update__wont_work_if_the_game_is_paused_._nAltNum_8___Drain_AI_Units_Hull_Takes_effect_when_unit_stat_values_update__wont_work_if_the_game_is_paused_._n_n
mov rcx, rbx
call fcn.14009e7c0
mov word [rbx + 0xfb2], r14w
jmp 0x1400384f2
lea r9, str._n_nNum_1___Edit_Credits_nNum_2___Edit_Metals_nNum_3___Edit_Crystals_nNum_4___Edit_Influence_nNum_5___Increase_Max_Military_Supply_This_option_gives_extra_max_military_supply_amount__the_final_max_military_supply_amount_will_be_higher_than_the_input_value._nNum_6___Edit_Tauranite_nNum_7___Edit_Indurium_nNum_8___Edit_Kalanide_nNum_9___Edit_Andvar_nNum_0___Edit_Quarnium_n_nCtrlNum_1___Increase_Civilian_Orbit_Slots_This_option_gives_extra_civilian_orbit_slots__the_final_slot_amount_will_be_higher_than_the_input_value._nCtrlNum_2___Increase_Military_Orbit_Slots_This_option_gives_extra_military_orbit_slots__the_final_slot_amount_will_be_higher_than_the_input_value._nCtrlNum_3___Instant_Research_Takes_effect_when_research_progress_increases._nCtrlNum_4___Instant_Build_Structures_Takes_effect_when_building_progress_increases._nCtrlNum_5___Instant_Build_Ships_Takes_effect_when_building_progress_increases._nCtrlNum_6___Instant_Build_Items_Takes_effect_when_building_progress_increases._nCtrlNum_7___Instant_Planet_Development__Survey_Takes_effect_when_development_survey_progress_increases._nCtrlNum_8___Set_Game_Speed_n_nAltNum_1___Player_Units:_Infinite_Shield_Takes_effect_when_unit_stat_values_update__wont_work_if_the_game_is_paused_._nAltNum_2___Player_Units:_Infinite_Armor_Takes_effect_when_unit_stat_values_update__wont_work_if_the_game_is_paused_._nAltNum_3___Player_Units:_Infinite_Hull_Takes_effect_when_unit_stat_values_update__wont_work_if_the_game_is_paused_._n_nHull_will_be_restored_to_max_hull_value._nAltNum_4___Player_Units:_Infinite_Antimatter_Takes_effect_when_antimatter_value_changes._nAltNum_5___Edit_Mouse_Hovered_Unit_Exp_nAltNum_6___Drain_AI_Units_Shield_Takes_effect_when_unit_stat_values_update__wont_work_if_the_game_is_paused_._nAltNum_7___Drain_AI_Units_Armor_Takes_effect_when_unit_stat_values_update__wont_work_if_the_game_is_paused_._nAltNum_8___Drain_AI_Units_Hull_Takes_effect_when_unit_stat_values_update__wont_work_if_the_game_is_paused_._n_n
mov edx, 0x7d9
call fcn.140020fd0
mov rcx, rdi
call fcn.140035a90
mov rcx, rdi
call fcn.140035d80
lea r15, [0x1400e0250]
mov esi, dword [0x1400dfc28]
test esi, esi
je 0x1400385be
mov ebx, dword [0x1400dfc2c]
test ebx, ebx
je 0x1400385be
mov rcx, r15
call fcn.1400760e8
test eax, eax
jne 0x140038926
mov eax, dword [0x1400e029c]
cmp eax, 0x7fffffff
je 0x140038931
mov dword [rbp + 0x40], 9
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp + 0x40], esi
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp + 0x40], ebx
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r15
call fcn.1400760f0
mov rcx, rdi
call fcn.1400389a0
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140042190
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x140038692
mov rcx, r15
call fcn.1400760e8
test eax, eax
jne 0x140038926
mov eax, dword [0x1400e029c]
cmp eax, 0x7fffffff
je 0x140038931
mov dword [rbp + 0x40], 3
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
mov dword [rbp + 0x40], eax
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx]
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 8
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r15
call fcn.1400760f0
mov rcx, r15
call fcn.1400760e8
test eax, eax
jne 0x140038926
mov eax, dword [0x1400e029c]
cmp eax, 0x7fffffff
je 0x140038931
mov dword [rbp + 0x40], 5
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rax, [0x140035770]
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 8
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r15
call fcn.1400760f0
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.14004f7c0
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.1400760e8
test eax, eax
jne 0x140038926
mov eax, dword [0x1400e029c]
cmp eax, 0x7fffffff
je 0x140038931
mov dword [rbp + 0x40], 4
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rdi + 0x458]
lea rcx, [rbp - 0x20]
call fcn.14001e180
mov rdx, rax
mov rcx, rdi
call fcn.1400313d0
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001e180
mov rdx, rax
mov rcx, rdi
call fcn.1400313d0
nop
mov rcx, r15
call fcn.1400760f0
mov ecx, 8
call fcn.140077094
mov qword [rax], rdi
mov qword [rbp + 0x38], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14003d920]
xor edx, edx
xor ecx, ecx
call fcn.140089bd4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140038989
cmp dword [rbp - 0x28], 0
je 0x14003897e
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400763d0
test eax, eax
jne 0x14003897e
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.140077094
mov qword [rax], rdi
mov qword [rbp + 0x38], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14003d950]
xor edx, edx
xor ecx, ecx
call fcn.140089bd4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14003896f
cmp dword [rbp - 0x28], 0
je 0x140038964
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400763d0
test eax, eax
jne 0x140038964
call fcn.1400346b0
mov ecx, 8
call fcn.140077094
mov qword [rax], rdi
mov qword [rbp + 0x38], rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14003d790]
xor edx, edx
xor ecx, ecx
call fcn.140089bd4
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140038955
cmp dword [rbp - 0x38], 0
je 0x14003894a
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400763d0
test eax, eax
jne 0x14003894a
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b9], al
jne 0x14003890c
nop
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140035440
cmp byte [rdi + 0x4b9], 0
je 0x1400388f0
cmp dword [rbp - 0x38], 0
jne 0x140038944
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.140076038
int3
dec eax
mov dword [0x1400e029c], eax
mov ecx, 6
call fcn.140076038
int3
call fcn.140089a70
nop
mov ecx, 1
call fcn.140076038
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.140076038
nop
mov ecx, 1
call fcn.140076038
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.140076038
nop
mov ecx, 1
call fcn.140076038
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.140076038
int3