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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rdi, rcx
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rsi
lea r8d, [rsi + 0x16]
lea rdx, str.FLiNGTrainerNamedPipe_
lea rcx, [rbp - 0x20]
call fcn.140003d9c
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140041c0c
test al, al
je 0x140047e56
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rsi
lea r8d, [rsi + 0x28]
lea rdx, str._n0y
lea rcx, [rbp - 0x20]
call fcn.140003d9c
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1400466ec
lea rcx, [rdi + 0x458]
lea rdx, [0x1400f7290]
call fcn.140017c48
lea rcx, [rdi + 0x478]
lea rdx, str._n_nNum_1___God_Mode_Ignore_Hits_When_activated__enemies_wont_be_able_to_damage_you__but_you_may_still_receive_status_damage._nNum_2___Infinite_Health_Takes_effect_when_health_value_changes._nNum_3___Infinite_Mana_Takes_effect_when_mana_value_changes._nNum_4___Infinite_Stamina_nNum_5___Infinite_Focus_nNum_6___Infinite_Gourd_Usage_nNum_7___Instant_Spell_Cooldown_Works_for_most_spells_but_not_for_transform__you_should_use__Instant_Transform_Cooldown__for_the_transform_spell__nNum_8___Instant_Transform_Cooldown_nNum_9___Infinite_Transform_Duration_nNum_0___Infinite_Spirit_Energy_nNum_.___Infinite_Vessel_Energy_nNum____Max_Critical_Hit_Chance_Note__this_option_will_affect_the_display_value_of_critical_hit_chance_stat__but_the_actual_stat_value_is_not_changed._nNum_____Max_Poise_nNum_____Prevent_Negative_Status_This_option_will_prevent_negative_status_gauges_from_building_up__but_its_still_possible_to_trigger_negative_status_if_you_receive_a_large_amount_of_status_damage_at_once._n_nCtrlNum_____Will_Multiplier_nCtrlNum____Exp_Multiplier_n_nCtrlNum_1___Super_Damage_One_Hit_Kills_Note__this_option_will_affect_the_display_value_of_damage_bonus_stat__but_the_actual_stat_value_is_not_changed._nCtrlNum_2___Damage_Multiplier_Note__this_option_will_affect_the_display_value_of_damage_bonus_stat__but_the_actual_stat_value_is_not_changed._nCtrlNum_3___Defense_Multiplier_Note__this_option_will_affect_the_display_value_of_damage_reduction_stat__but_the_actual_stat_value_is_not_changed._nCtrlNum_4___Stamina_Consumption_Rate_nCtrlNum_5___Set_Game_Speed_n_nAltNum_1___Edit_Will_Takes_effect_when_you_gain_will_by_killing_enemies._Sometimes_you_may_need_to_kill_multiple_enemies_for_it_to_work._n_nAlso_works_when_you_activate_this_option_first__then_offer_incense._But_the_display_value_wont_update_immediately__you_will_need_to_gain_or_spend_some_will_to_update_the_display_value._nAltNum_2___Edit_Clicked_Item_Amount_Activate__then_click_on_an_item_in_the_inventory_to_change_its_amount._n_nNote__the_display_value_wont_update_immediately__you_will_need_to_consume_spend_the_item_or_save_and_reload_the_game_in_order_to_update_the_display_value._nAltNum_3___Increase_Exp_Takes_effect_when_you_gain_exp._nAltNum_4___Edit_Sparks_Takes_effect_when_you_spend_sparks._nAltNum_5___Set_Player_Speed_nAltNum_6___Set_Movement_Speed_nAltNum_7___Set_Jump_Height_Note__you_may_take_fall_damage_if_you_jump_too_high__you_can_use__God_Mode__or__Infinite_Health__options_to_prevent_that._n_nShiftF1___Edit_Max_Health_Note__if_any_menus_are_opened__close_all_menus_for_it_to_work._n_nNote__the_effect_is_not_permanent._nShiftF2___Edit_Max_Mana_Note__if_any_menus_are_opened__close_all_menus_for_it_to_work._n_nNote__the_effect_is_not_permanent._nShiftF3___Edit_Max_Stamina_Note__if_any_menus_are_opened__close_all_menus_for_it_to_work._n_nNote__the_effect_is_not_permanent._nShiftF4___Edit_Attack_Note__the_effect_is_not_permanent._nShiftF5___Edit_Defense_Note__the_effect_is_not_permanent._nShiftF6___Edit_Stamina_Recovery_Rate_Note__the_effect_is_not_permanent._nShiftF7___Edit_Critical_Hit_Chance_Note__the_effect_is_not_permanent._nShiftF8___Increase_Critical_Hit_Damage_Note__this_option_changes_bonus_critical_hit_damage__the_final_stat_value_is_base_critical_hit_damage__bonus_critical_hit_damage._n_nNote__the_effect_is_not_permanent._nShiftF9___Edit_Damage_Bonus_Note__the_effect_is_not_permanent._nShiftF10___Edit_Damage_Reduction_Note__the_max_damage_reduction_is_80___setting_a_higher_value_also_works__but_it_cant_reduce_100__damage._n_nNote__the_effect_is_not_permanent._n_nCtrlF1___Edit_Chill_Resistance_Note__if_any_menus_are_opened__close_all_menus_for_it_to_work._n_nNote__the_effect_is_not_permanent._nCtrlF2___Edit_Burn_Resistance_Note__if_any_menus_are_opened__close_all_menus_for_it_to_work._n_nNote__the_effect_is_not_permanent._nCtrlF3___Edit_Poison_Resistance_Note__if_any_menus_are_opened__close_all_menus_for_it_to_work._n_nNote__the_effect_is_not_permanent._nCtrlF4__
call fcn.140017c48
mov rcx, rdi
call fcn.140045890
mov rcx, rdi
call fcn.140045b44
mov edx, dword [0x1401223f8]
test edx, edx
je 0x140047c85
mov r8d, dword [0x1401223f4]
test r8d, r8d
je 0x140047c85
mov rcx, rdi
call fcn.1400489fc
mov rcx, rdi
call fcn.140047ed8
mov rcx, rdi
call fcn.140048220
lea rcx, [0x140122b80]
call fcn.140081b10
test eax, eax
jne 0x140047e74
mov eax, dword [0x140122bcc]
cmp eax, 0x7fffffff
je 0x140047e7f
mov edx, 5
mov rcx, rdi
call fcn.14004f88c
lea rax, [0x140045510]
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x28], esi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x28]
mov ebx, 8
mov r8d, ebx
lea rdx, [rbp + 0x30]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x140122b80]
call fcn.140081b18
mov rcx, rdi
call fcn.140048314
mov ecx, ebx
call fcn.140082b94
mov qword [rax], rdi
mov qword [rbp + 0x28], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14004c218]
xor edx, edx
xor ecx, ecx
call fcn.140096bb4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140047e66
cmp dword [rbp - 0x28], esi
je 0x140047eca
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140081ed0
test eax, eax
jne 0x140047eca
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
mov ecx, ebx
call fcn.140082b94
mov qword [rax], rdi
mov qword [rbp + 0x28], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14004c248]
xor edx, edx
xor ecx, ecx
call fcn.140096bb4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140047ebc
cmp dword [rbp - 0x28], esi
je 0x140047eb1
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140081ed0
test eax, eax
jne 0x140047eb1
call fcn.140044a08
mov ecx, ebx
call fcn.140082b94
mov qword [rax], rdi
mov qword [rbp + 0x28], rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14004c0ec]
xor edx, edx
xor ecx, ecx
call fcn.140096bb4
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140047ea3
cmp dword [rbp - 0x38], esi
je 0x140047e98
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140081ed0
test eax, eax
jne 0x140047e98
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
jmp 0x140047e48
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.1400452ec
cmp byte [rdi + 0x4b9], sil
je 0x140047e35
cmp dword [rbp - 0x38], esi
jne 0x140047e92
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
mov dword [rbp - 0x28], esi
mov ecx, 6
call fcn.140081a60
nop
mov ecx, 5
call fcn.140081a60
int3
dec eax
mov dword [0x140122bcc], eax
mov ecx, 6
call fcn.140081a60
int3
call fcn.140096a50
nop
mov ecx, 1
call fcn.140081a60
nop
mov dword [rbp - 0x38], esi
mov ecx, 6
call fcn.140081a60
nop
mov ecx, 1
call fcn.140081a60
nop
mov dword [rbp - 0x28], esi
mov ecx, 6
call fcn.140081a60
nop
mov ecx, 1
call fcn.140081a60
int3