Function at 0x1400c9370
Capabilities:
Delete file
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rsi, rdx
xor r8d, r8d
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x58], r15
mov byte [rsp + 0x40], r8b
lea edi, [r8 + 0xb]
cmp ecx, r15d
ja case.0x1400c93d3.12
movsxd rax, ecx
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0xc9a18]
add rcx, rdx
jmp rcx
mov ebx, recv
movsd xmm0, qword [str._SIMCONNECT_]
mov eax, dword [0x14012f680]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], 0
jmp 0x1400c95e7
movsd xmm0, qword [str._LICENSE_]
movzx eax, byte [0x14012f690]
jmp 0x1400c95d9
mov ebx, 6
mov eax, dword [str._FMOD_]
mov dword [rsp + 0x40], eax
movzx eax, word [0x14012f698]
mov word [rsp + 0x44], ax
mov byte [rsp + 0x46], 0
jmp 0x1400c95ed
mov ebx, 5
mov eax, dword [str._GUI_]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x14012f6a0]
mov byte [rsp + 0x44], al
mov byte [rsp + 0x45], 0
jmp 0x1400c95ed
mov ebx, 8
mov rax, qword [str._SERVER_]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x48], 0
jmp 0x1400c95ed
movsd xmm0, qword [str._SESSION_]
movzx eax, byte [0x14012f6c0]
jmp 0x1400c95d9
movsd xmm0, qword [str._PROFILE_]
movzx eax, byte [0x14012f6d0]
jmp 0x1400c95d9
mov rbx, r15
movsd xmm0, qword [str._PROFILE_CLOUD_]
mov eax, dword [0x14012f6e0]
mov dword [rsp + 0x48], eax
movzx eax, word [0x14012f6e4]
mov word [rsp + 0x4c], ax
movzx eax, byte [0x14012f6e6]
mov byte [rsp + 0x4e], al
mov byte [rsp + 0x4f], 0
jmp 0x1400c95e7
mov ebx, recv
movsd xmm0, qword [str._USER_CONFIG_]
mov eax, dword [0x14012f6f0]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x14012f6f4]
mov byte [rsp + 0x4c], al
mov byte [rsp + 0x4d], 0
jmp 0x1400c95e7
mov ebx, recv
movsd xmm0, qword [str._UICORDINATOR_]
mov eax, dword [0x14012f700]
mov dword [rsp + 0x48], eax
movzx eax, word [0x14012f704]
mov word [rsp + 0x4c], ax
mov byte [rsp + 0x4e], 0
jmp 0x1400c95e7
movsd xmm0, qword [str._EFFECTS_]
movzx eax, byte [0x14012f710]
jmp 0x1400c95d9
mov rbx, rdi
movsd xmm0, qword [str._AUTOSTART_]
movzx eax, word [0x14012f730]
mov word [rsp + 0x48], ax
movzx eax, byte [0x14012f732]
mov byte [rsp + 0x4a], al
mov byte [rsp + 0x4b], 0
jmp 0x1400c95e7
mov ebx, recv
movsd xmm0, qword [str._XPL_CLIENT_]
mov eax, dword [0x14012f740]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], 0
jmp 0x1400c95e7
mov rbx, rdi
movsd xmm0, qword [str._TELEMETRY_]
movzx eax, word [0x14012f750]
mov word [rsp + 0x48], ax
movzx eax, byte [0x14012f752]
mov byte [rsp + 0x4a], al
mov byte [rsp + 0x4b], 0
jmp 0x1400c95e7
mov ebx, recv
movsd xmm0, qword [str._DCS_CLIENT_]
mov eax, dword [0x14012f760]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], 0
jmp 0x1400c95e7
movzx eax, byte [0x14012f720]
movsd xmm0, qword [str._GENERAL_]
mov byte [rsp + 0x49], 0
mov byte [rsp + 0x48], al
mov ebx, 9
movsd qword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x78], r15
mov rax, qword [str.log.txt]
mov dword [rsp + 0x60], eax
movzx eax, word [0x14012f76c]
mov word [rsp + 0x64], ax
movzx eax, byte [reloc.WS2_32.dll_WSACleanup]
mov byte [rsp + 0x66], al
mov byte [rsp + 0x67], 0
lea rdx, [rsp + 0x60]
lea rcx, [rbp]
call fcn.1400d7070
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], r15
movsd xmm0, qword [str.SimHaptic_v]
movsd qword [rbp - 0x60], xmm0
movzx eax, word [0x14012bdd8]
mov word [rbp - 0x58], ax
movzx eax, byte [0x14012bdda]
mov byte [rbp - 0x56], al
mov byte [rbp - 0x55], 0
lea r14, [rbp - 0x60]
mov r13, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400c9681
mov r13, qword [rsi]
mov rax, qword [rsi + 0x10]
cmp rdi, rax
ja 0x1400c9701
sub rax, rdi
lea r15, [rax + r13]
movsx r12d, byte [r14]
lea r8, [r15 + 1]
sub r8, r13
mov edx, r12d
mov rcx, r13
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
je 0x1400c9701
nop
mov r8d, recv
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400c96e4
inc rdi
lea r8, [r15 + 1]
sub r8, rdi
mov edx, r12d
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
jne 0x1400c96b0
jmp 0x1400c9701
sub rdi, r13
cmp rdi, 0xffffffffffffffff
je 0x1400c9701
lea rcx, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rbp + 0x138], rax
lea rcx, [rbp + 0x138]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov eax, dword [rax + 0x20]
mov dword [rbp + 0x80], eax
lea r9, [rbp + 0x60]
lea r8, [0x14012f670]
mov edx, 0x50
lea rcx, [rbp + 0x90]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
lea rax, [rbp + 0x90]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r15b
jne 0x1400c9775
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x60]
call fcn.1400a3d80
nop
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
mov rcx, qword [rsp + 0x70]
sub rax, rcx
cmp rax, 1
jb 0x1400c9a10
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova r9, qword [rsp + 0x60]
mov qword [rsp + 0x30], 1
lea r14, [0x14012b2ec]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x40]
call fcn.1400a5860
nop
lea rdx, [rsp + 0x40]
mov r12d, reloc.WS2_32.dll_ntohs
mov r8, rbx
lea rcx, [rbp + 0x40]
call fcn.1400a0280
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r12
mov byte [rax], 0
lea r8d, [r12 - 0xe]
mov rdx, r14
lea rcx, [rbp - 0x20]
call fcn.1400a0280
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r12
mov byte [rax], 0
mov rdx, rsi
cmp qword [rsi + 0x18], r12
jbe 0x1400c986a
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x40]
call fcn.1400a0280
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r12
mov byte [rax], 0
lea rcx, [rbp - 0x40]
call fcn.1400672b0
nop
lea rcx, [rbp - 0x20]
call fcn.1400672b0
nop
lea rcx, [rbp + 0x40]
call fcn.1400672b0
nop
lea rcx, [rsp + 0x60]
call fcn.1400672b0
mov rax, qword [rbp - 0x70]
sub rdi, rax
cmp rdi, 1
jb 0x1400c9a0a
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], 1
lea rcx, reloc.WS2_32.dll_ioctlsocket
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x20]
call fcn.1400a5860
nop
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rdx, [rbp]
lea rcx, [rbp + 0x40]
call fcn.14009ec80
mov rdi, rax
lea r14, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova r14, qword [rbp - 0x80]
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1400c994a
mov rcx, qword [rax]
lea rdx, [0x14012f674]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
mov r8, r14
lea rdx, [0x140124268]
mov rcx, rax
call fcn.1400c9320
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rdi
call fcn.1400672b0
nop
lea rcx, [rbp + 0x20]
call fcn.1400672b0
nop
lea rcx, [rbp - 0x80]
call fcn.1400672b0
nop
lea rcx, [rbp - 0x60]
call fcn.1400672b0
nop
lea rcx, [rbp]
call fcn.1400672b0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400c99e7
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c99e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c99e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a808
nop
mov rcx, rsi
call fcn.1400672b0
mov rbx, qword [rsp + 0x220]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400668e0
nop
call fcn.1400668e0
int3