Function at 0x1400c9fe0
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.0x1400ca043.12
movsxd rax, ecx
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0xca688]
add rcx, rdx
jmp rcx
mov ebx, recv
movsd xmm0, qword [str._SIMCONNECT_]
mov eax, dword [0x140130808]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], 0
jmp 0x1400ca257
movsd xmm0, qword [str._LICENSE_]
movzx eax, byte [0x140130818]
jmp 0x1400ca249
mov ebx, 6
mov eax, dword [str._FMOD_]
mov dword [rsp + 0x40], eax
movzx eax, word [0x140130820]
mov word [rsp + 0x44], ax
mov byte [rsp + 0x46], 0
jmp 0x1400ca25d
mov ebx, 5
mov eax, dword [str._GUI_]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x140130828]
mov byte [rsp + 0x44], al
mov byte [rsp + 0x45], 0
jmp 0x1400ca25d
mov ebx, 8
mov rax, qword [str._SERVER_]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x48], 0
jmp 0x1400ca25d
movsd xmm0, qword [str._SESSION_]
movzx eax, byte [0x140130848]
jmp 0x1400ca249
movsd xmm0, qword [str._PROFILE_]
movzx eax, byte [0x140130858]
jmp 0x1400ca249
mov rbx, r15
movsd xmm0, qword [str._PROFILE_CLOUD_]
mov eax, dword [0x140130868]
mov dword [rsp + 0x48], eax
movzx eax, word [0x14013086c]
mov word [rsp + 0x4c], ax
movzx eax, byte [0x14013086e]
mov byte [rsp + 0x4e], al
mov byte [rsp + 0x4f], 0
jmp 0x1400ca257
mov ebx, recv
movsd xmm0, qword [str._USER_CONFIG_]
mov eax, dword [0x140130878]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x14013087c]
mov byte [rsp + 0x4c], al
mov byte [rsp + 0x4d], 0
jmp 0x1400ca257
mov ebx, recv
movsd xmm0, qword [str._UICORDINATOR_]
mov eax, dword [0x140130888]
mov dword [rsp + 0x48], eax
movzx eax, word [0x14013088c]
mov word [rsp + 0x4c], ax
mov byte [rsp + 0x4e], 0
jmp 0x1400ca257
movsd xmm0, qword [str._EFFECTS_]
movzx eax, byte [0x140130898]
jmp 0x1400ca249
mov rbx, rdi
movsd xmm0, qword [str._AUTOSTART_]
movzx eax, word [0x1401308b8]
mov word [rsp + 0x48], ax
movzx eax, byte [0x1401308ba]
mov byte [rsp + 0x4a], al
mov byte [rsp + 0x4b], 0
jmp 0x1400ca257
mov ebx, recv
movsd xmm0, qword [str._XPL_CLIENT_]
mov eax, dword [0x1401308c8]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], 0
jmp 0x1400ca257
mov rbx, rdi
movsd xmm0, qword [str._TELEMETRY_]
movzx eax, word [0x1401308d8]
mov word [rsp + 0x48], ax
movzx eax, byte [0x1401308da]
mov byte [rsp + 0x4a], al
mov byte [rsp + 0x4b], 0
jmp 0x1400ca257
mov ebx, recv
movsd xmm0, qword [str._DCS_CLIENT_]
mov eax, dword [0x1401308e8]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], 0
jmp 0x1400ca257
movzx eax, byte [0x1401308a8]
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 [0x1401308f4]
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.1400d7d10
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 [0x14012cf50]
mov word [rbp - 0x58], ax
movzx eax, byte [0x14012cf52]
mov byte [rbp - 0x56], al
mov byte [rbp - 0x55], 0
lea r14, [rbp - 0x60]
mov r13, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400ca2f1
mov r13, qword [rsi]
mov rax, qword [rsi + 0x10]
cmp rdi, rax
ja 0x1400ca371
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 0x1400ca371
nop
mov r8d, recv
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400ca354
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 0x1400ca320
jmp 0x1400ca371
sub rdi, r13
cmp rdi, 0xffffffffffffffff
je 0x1400ca371
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, [0x1401307f8]
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 0x1400ca3e5
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x60]
call fcn.1400a5790
nop
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
mov rcx, qword [rsp + 0x70]
sub rax, rcx
cmp rax, 1
jb 0x1400ca680
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova r9, qword [rsp + 0x60]
mov qword [rsp + 0x30], 1
lea r14, [0x14012c43c]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x40]
call fcn.1400a72c0
nop
lea rdx, [rsp + 0x40]
mov r12d, reloc.WS2_32.dll_ntohs
mov r8, rbx
lea rcx, [rbp + 0x40]
call fcn.1400a1a60
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.1400a1a60
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 0x1400ca4da
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x40]
call fcn.1400a1a60
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.1400672c0
nop
lea rcx, [rbp - 0x20]
call fcn.1400672c0
nop
lea rcx, [rbp + 0x40]
call fcn.1400672c0
nop
lea rcx, [rsp + 0x60]
call fcn.1400672c0
mov rax, qword [rbp - 0x70]
sub rdi, rax
cmp rdi, 1
jb 0x1400ca67a
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.1400a72c0
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.1400a0240
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 0x1400ca5ba
mov rcx, qword [rax]
lea rdx, [0x1401307fc]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
mov r8, r14
lea rdx, [0x1401252a8]
mov rcx, rax
call fcn.1400c9f90
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rdi
call fcn.1400672c0
nop
lea rcx, [rbp + 0x20]
call fcn.1400672c0
nop
lea rcx, [rbp - 0x80]
call fcn.1400672c0
nop
lea rcx, [rbp - 0x60]
call fcn.1400672c0
nop
lea rcx, [rbp]
call fcn.1400672c0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400ca657
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ca651
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ca651
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010b6e8
nop
mov rcx, rsi
call fcn.1400672c0
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.1400668f0
nop
call fcn.1400668f0
int3