Function at 0x1400c9320
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.0x1400c9383.12
movsxd rax, ecx
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0xc99c8]
add rcx, rdx
jmp rcx
mov ebx, recv
movsd xmm0, qword [str._SIMCONNECT_]
mov eax, dword [0x14012f640]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], 0
jmp 0x1400c9597
movsd xmm0, qword [str._LICENSE_]
movzx eax, byte [0x14012f650]
jmp 0x1400c9589
mov ebx, 6
mov eax, dword [str._FMOD_]
mov dword [rsp + 0x40], eax
movzx eax, word [0x14012f658]
mov word [rsp + 0x44], ax
mov byte [rsp + 0x46], 0
jmp 0x1400c959d
mov ebx, 5
mov eax, dword [str._GUI_]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x14012f660]
mov byte [rsp + 0x44], al
mov byte [rsp + 0x45], 0
jmp 0x1400c959d
mov ebx, 8
mov rax, qword [str._SERVER_]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x48], 0
jmp 0x1400c959d
movsd xmm0, qword [str._SESSION_]
movzx eax, byte [0x14012f680]
jmp 0x1400c9589
movsd xmm0, qword [str._PROFILE_]
movzx eax, byte [0x14012f690]
jmp 0x1400c9589
mov rbx, r15
movsd xmm0, qword [str._PROFILE_CLOUD_]
mov eax, dword [0x14012f6a0]
mov dword [rsp + 0x48], eax
movzx eax, word [0x14012f6a4]
mov word [rsp + 0x4c], ax
movzx eax, byte [0x14012f6a6]
mov byte [rsp + 0x4e], al
mov byte [rsp + 0x4f], 0
jmp 0x1400c9597
mov ebx, recv
movsd xmm0, qword [str._USER_CONFIG_]
mov eax, dword [0x14012f6b0]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x14012f6b4]
mov byte [rsp + 0x4c], al
mov byte [rsp + 0x4d], 0
jmp 0x1400c9597
mov ebx, recv
movsd xmm0, qword [str._UICORDINATOR_]
mov eax, dword [0x14012f6c0]
mov dword [rsp + 0x48], eax
movzx eax, word [0x14012f6c4]
mov word [rsp + 0x4c], ax
mov byte [rsp + 0x4e], 0
jmp 0x1400c9597
movsd xmm0, qword [str._EFFECTS_]
movzx eax, byte [0x14012f6d0]
jmp 0x1400c9589
mov rbx, rdi
movsd xmm0, qword [str._AUTOSTART_]
movzx eax, word [0x14012f6f0]
mov word [rsp + 0x48], ax
movzx eax, byte [0x14012f6f2]
mov byte [rsp + 0x4a], al
mov byte [rsp + 0x4b], 0
jmp 0x1400c9597
mov ebx, recv
movsd xmm0, qword [str._XPL_CLIENT_]
mov eax, dword [0x14012f700]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], 0
jmp 0x1400c9597
mov rbx, rdi
movsd xmm0, qword [str._TELEMETRY_]
movzx eax, word [0x14012f710]
mov word [rsp + 0x48], ax
movzx eax, byte [0x14012f712]
mov byte [rsp + 0x4a], al
mov byte [rsp + 0x4b], 0
jmp 0x1400c9597
mov ebx, recv
movsd xmm0, qword [str._DCS_CLIENT_]
mov eax, dword [0x14012f720]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], 0
jmp 0x1400c9597
movzx eax, byte [0x14012f6e0]
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 [0x14012f72c]
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.1400d7030
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 [0x14012bd98]
mov word [rbp - 0x58], ax
movzx eax, byte [0x14012bd9a]
mov byte [rbp - 0x56], al
mov byte [rbp - 0x55], 0
lea r14, [rbp - 0x60]
mov r13, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400c9631
mov r13, qword [rsi]
mov rax, qword [rsi + 0x10]
cmp rdi, rax
ja 0x1400c96b1
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 0x1400c96b1
nop
mov r8d, recv
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400c9694
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 0x1400c9660
jmp 0x1400c96b1
sub rdi, r13
cmp rdi, 0xffffffffffffffff
je 0x1400c96b1
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, [0x14012f630]
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 0x1400c9725
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x60]
call fcn.1400a3d30
nop
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
mov rcx, qword [rsp + 0x70]
sub rax, rcx
cmp rax, 1
jb 0x1400c99c0
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova r9, qword [rsp + 0x60]
mov qword [rsp + 0x30], 1
lea r14, [0x14012b294]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x40]
call fcn.1400a5810
nop
lea rdx, [rsp + 0x40]
mov r12d, reloc.WS2_32.dll_ntohs
mov r8, rbx
lea rcx, [rbp + 0x40]
call fcn.1400a0230
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.1400a0230
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 0x1400c981a
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x40]
call fcn.1400a0230
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 0x1400c99ba
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.1400a5810
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.14009ec30
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 0x1400c98fa
mov rcx, qword [rax]
lea rdx, [0x14012f634]
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.1400c92d0
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 0x1400c9997
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c9991
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c9991
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a7a8
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