Function at 0x14005e6f0
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.140007fd0
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140056d60
test al, al
je 0x14005ec32
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x26]
lea rdx, [0x14011e3f0]
lea rcx, [rbp - 0x20]
call fcn.140007fd0
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.14005d0f0
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x807
jb 0x14005e7b5
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x807
mov r8d, 0x100e
lea rdx, [0x14011d3e0]
mov rcx, rbx
call fcn.1400d0670
mov word [rbx + 0x100e], r14w
jmp 0x14005e7c6
lea r9, [0x14011d3e0]
mov edx, 0x807
call fcn.140024560
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0xdc8
jb 0x14005e801
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0xdc8
mov r8d, 0x1b90
lea rdx, str._n_nNum_1___Edit_Treasury_Takes_effect_when_treasury_value_updates__or_when_you_save_and_reload_the_game._nNum_2___Edit_Influence_Takes_effect_when_influence_value_updates__or_when_you_save_and_reload_the_game._nNum_3___Edit_Kings_Favour_Takes_effect_when_kings_favour_value_updates__or_when_you_save_and_reload_the_game._nNum_4___Edit_Regional_Wealth_Takes_effect_when_regional_wealth_value_updates._nNum_5___Edit_Development_Points_Takes_effect_when_development_points_value_updates._nNum_6___Max_Approval_Takes_effect_when_approval_rating_updates._n_nThis_option_temporarily_changes_approval_rating__the_effect_is_not_permanent._nNum_7___Max_Public_Order_Takes_effect_when_public_order_updates._n_nThis_option_temporarily_changes_public_order__the_effect_is_not_permanent._nNum_8___Set_Game_Speed_n_nAltNum_1___Units:_Infinite_Health_nAltNum_2___Units:_Infinite_Stamina_nAltNum_3___Units:_Max_Morale_Takes_effect_when_morale_value_updates._nAltNum_4___Units:_Set_Movement_Speed_Note__default_speed_is_between_10_and_15_depending_on_the_unit_type._nAltNum_5___Empty_AI_Units_Health_Fast_Kills_n_nCtrlNum_1___Obtain_All_Construction_Materials_Takes_effect_when_resource_updates__for_example:_when_you_build_something_._n_nResources_will_be_added_to_one_of_the_temporary_supply_stash_in_the_current_region._n_nIf_there_is_no_temporary_supply_stash_in_the_region__this_option_wont_work._n_nYou_can_get_temporary_supply_stash_by_demolishing_buildings._nCtrlNum_2___Obtain_All_Food_Takes_effect_when_resource_updates__for_example:_when_you_build_something_._n_nResources_will_be_added_to_one_of_the_temporary_supply_stash_in_the_current_region._n_nIf_there_is_no_temporary_supply_stash_in_the_region__this_option_wont_work._n_nYou_can_get_temporary_supply_stash_by_demolishing_buildings._nCtrlNum_3___Obtain_All_Fuel_Takes_effect_when_resource_updates__for_example:_when_you_build_something_._n_nResources_will_be_added_to_one_of_the_temporary_supply_stash_in_the_current_region._n_nIf_there_is_no_temporary_supply_stash_in_the_region__this_option_wont_work._n_nYou_can_get_temporary_supply_stash_by_demolishing_buildings._nCtrlNum_4___Obtain_All_Crops_Takes_effect_when_resource_updates__for_example:_when_you_build_something_._n_nResources_will_be_added_to_one_of_the_temporary_supply_stash_in_the_current_region._n_nIf_there_is_no_temporary_supply_stash_in_the_region__this_option_wont_work._n_nYou_can_get_temporary_supply_stash_by_demolishing_buildings._nCtrlNum_5___Obtain_All_Crafting_Materials_Takes_effect_when_resource_updates__for_example:_when_you_build_something_._n_nResources_will_be_added_to_one_of_the_temporary_supply_stash_in_the_current_region._n_nIf_there_is_no_temporary_supply_stash_in_the_region__this_option_wont_work._n_nYou_can_get_temporary_supply_stash_by_demolishing_buildings._nCtrlNum_6___Obtain_All_Commodities_Takes_effect_when_resource_updates__for_example:_when_you_build_something_._n_nResources_will_be_added_to_one_of_the_temporary_supply_stash_in_the_current_region._n_nIf_there_is_no_temporary_supply_stash_in_the_region__this_option_wont_work._n_nYou_can_get_temporary_supply_stash_by_demolishing_buildings._nCtrlNum_7___Obtain_All_Military_Equipments_Takes_effect_when_resource_updates__for_example:_when_you_build_something_._n_nResources_will_be_added_to_one_of_the_temporary_supply_stash_in_the_current_region._n_nIf_there_is_no_temporary_supply_stash_in_the_region__this_option_wont_work._n_nYou_can_get_temporary_supply_stash_by_demolishing_buildings._n_n
mov rcx, rbx
call fcn.1400d0670
mov word [rbx + 0x1b90], r14w
jmp 0x14005e812
lea r9, str._n_nNum_1___Edit_Treasury_Takes_effect_when_treasury_value_updates__or_when_you_save_and_reload_the_game._nNum_2___Edit_Influence_Takes_effect_when_influence_value_updates__or_when_you_save_and_reload_the_game._nNum_3___Edit_Kings_Favour_Takes_effect_when_kings_favour_value_updates__or_when_you_save_and_reload_the_game._nNum_4___Edit_Regional_Wealth_Takes_effect_when_regional_wealth_value_updates._nNum_5___Edit_Development_Points_Takes_effect_when_development_points_value_updates._nNum_6___Max_Approval_Takes_effect_when_approval_rating_updates._n_nThis_option_temporarily_changes_approval_rating__the_effect_is_not_permanent._nNum_7___Max_Public_Order_Takes_effect_when_public_order_updates._n_nThis_option_temporarily_changes_public_order__the_effect_is_not_permanent._nNum_8___Set_Game_Speed_n_nAltNum_1___Units:_Infinite_Health_nAltNum_2___Units:_Infinite_Stamina_nAltNum_3___Units:_Max_Morale_Takes_effect_when_morale_value_updates._nAltNum_4___Units:_Set_Movement_Speed_Note__default_speed_is_between_10_and_15_depending_on_the_unit_type._nAltNum_5___Empty_AI_Units_Health_Fast_Kills_n_nCtrlNum_1___Obtain_All_Construction_Materials_Takes_effect_when_resource_updates__for_example:_when_you_build_something_._n_nResources_will_be_added_to_one_of_the_temporary_supply_stash_in_the_current_region._n_nIf_there_is_no_temporary_supply_stash_in_the_region__this_option_wont_work._n_nYou_can_get_temporary_supply_stash_by_demolishing_buildings._nCtrlNum_2___Obtain_All_Food_Takes_effect_when_resource_updates__for_example:_when_you_build_something_._n_nResources_will_be_added_to_one_of_the_temporary_supply_stash_in_the_current_region._n_nIf_there_is_no_temporary_supply_stash_in_the_region__this_option_wont_work._n_nYou_can_get_temporary_supply_stash_by_demolishing_buildings._nCtrlNum_3___Obtain_All_Fuel_Takes_effect_when_resource_updates__for_example:_when_you_build_something_._n_nResources_will_be_added_to_one_of_the_temporary_supply_stash_in_the_current_region._n_nIf_there_is_no_temporary_supply_stash_in_the_region__this_option_wont_work._n_nYou_can_get_temporary_supply_stash_by_demolishing_buildings._nCtrlNum_4___Obtain_All_Crops_Takes_effect_when_resource_updates__for_example:_when_you_build_something_._n_nResources_will_be_added_to_one_of_the_temporary_supply_stash_in_the_current_region._n_nIf_there_is_no_temporary_supply_stash_in_the_region__this_option_wont_work._n_nYou_can_get_temporary_supply_stash_by_demolishing_buildings._nCtrlNum_5___Obtain_All_Crafting_Materials_Takes_effect_when_resource_updates__for_example:_when_you_build_something_._n_nResources_will_be_added_to_one_of_the_temporary_supply_stash_in_the_current_region._n_nIf_there_is_no_temporary_supply_stash_in_the_region__this_option_wont_work._n_nYou_can_get_temporary_supply_stash_by_demolishing_buildings._nCtrlNum_6___Obtain_All_Commodities_Takes_effect_when_resource_updates__for_example:_when_you_build_something_._n_nResources_will_be_added_to_one_of_the_temporary_supply_stash_in_the_current_region._n_nIf_there_is_no_temporary_supply_stash_in_the_region__this_option_wont_work._n_nYou_can_get_temporary_supply_stash_by_demolishing_buildings._nCtrlNum_7___Obtain_All_Military_Equipments_Takes_effect_when_resource_updates__for_example:_when_you_build_something_._n_nResources_will_be_added_to_one_of_the_temporary_supply_stash_in_the_current_region._n_nIf_there_is_no_temporary_supply_stash_in_the_region__this_option_wont_work._n_nYou_can_get_temporary_supply_stash_by_demolishing_buildings._n_n
mov edx, 0xdc8
call fcn.140024560
mov rcx, rdi
call fcn.14005bd80
mov rcx, rdi
call fcn.14005c070
lea r15, [0x140151c00]
mov esi, dword [0x140151ff0]
test esi, esi
je 0x14005e8de
mov ebx, dword [0x140151ff4]
test ebx, ebx
je 0x14005e8de
mov rcx, r15
call fcn.1400a6350
test eax, eax
jne 0x14005ec46
mov eax, dword [0x140151c4c]
cmp eax, 0x7fffffff
je 0x14005ec51
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.1400a6358
mov rcx, rdi
call fcn.14005ecc0
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140067fc0
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x14005e9b2
mov rcx, r15
call fcn.1400a6350
test eax, eax
jne 0x14005ec46
mov eax, dword [0x140151c4c]
cmp eax, 0x7fffffff
je 0x14005ec51
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.1400a6358
mov rcx, r15
call fcn.1400a6350
test eax, eax
jne 0x14005ec46
mov eax, dword [0x140151c4c]
cmp eax, 0x7fffffff
je 0x14005ec51
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, [0x14005ba60]
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.1400a6358
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.140075470
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.1400a6350
test eax, eax
jne 0x14005ec46
mov eax, dword [0x140151c4c]
cmp eax, 0x7fffffff
je 0x14005ec51
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.140021210
mov rdx, rax
mov rcx, rdi
call fcn.140057150
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.140021210
mov rdx, rax
mov rcx, rdi
call fcn.140057150
nop
mov rcx, r15
call fcn.1400a6358
mov ecx, 8
call fcn.1400a78c4
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, [0x140063750]
xor edx, edx
xor ecx, ecx
call fcn.1400bb8e4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14005eca9
cmp dword [rbp - 0x28], 0
je 0x14005ec9e
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400a6c00
test eax, eax
jne 0x14005ec9e
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.1400a78c4
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, [0x140063780]
xor edx, edx
xor ecx, ecx
call fcn.1400bb8e4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14005ec8f
cmp dword [rbp - 0x28], 0
je 0x14005ec84
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400a6c00
test eax, eax
jne 0x14005ec84
call fcn.14005a440
mov ecx, 8
call fcn.1400a78c4
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, [0x1400635c0]
xor edx, edx
xor ecx, ecx
call fcn.1400bb8e4
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14005ec75
cmp dword [rbp - 0x38], 0
je 0x14005ec6a
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400a6c00
test eax, eax
jne 0x14005ec6a
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [0x140151ff8], al
jne 0x14005ec2c
nop
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.14005b730
cmp byte [0x140151ff8], 0
je 0x14005ec10
cmp dword [rbp - 0x38], 0
jne 0x14005ec64
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.1400a62f4
int3
dec eax
mov dword [0x140151c4c], eax
mov ecx, 6
call fcn.1400a62f4
int3
call fcn.1400bb780
nop
mov ecx, 1
call fcn.1400a62f4
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.1400a62f4
nop
mov ecx, 1
call fcn.1400a62f4
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.1400a62f4
nop
mov ecx, 1
call fcn.1400a62f4
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.1400a62f4
int3