Function at 0x140009210
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400322d0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r15, rdx
mov rdi, rcx
xor r12d, r12d
mov dword [rsp + 0x34], r12d
movzx eax, byte [rdx + 0x2c]
movzx edx, byte [rdx + 0x2d]
shl edx, 8
or edx, eax
lea eax, [rdx - 0x1b1a]
test eax, 0xfffffeff
je 0x140009457
lea eax, [rdx - 0x1d1a]
test eax, 0xfffffeff
je 0x140009446
cmp edx, 0x1f1a
jne 0x140009536
movzx ecx, byte [r15 + 0x31]
shl ecx, 8
movzx eax, byte [r15 + 0x30]
or ecx, eax
shl ecx, 8
movzx eax, byte [r15 + 0x2f]
or ecx, eax
shl ecx, 8
movzx eax, byte [r15 + 0x2e]
or ecx, eax
cmp ecx, 4
je 0x14000931e
cmp ecx, 0x10000
jne 0x140009536
lea rdx, [rdi + 0x248]
lea rcx, [rsp + 0x78]
call fcn.140005880
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.140005310
test eax, eax
je 0x140009536
lea ecx, [r12 + 0x32]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rdi + 0x248]
lea rcx, [rbp - 0x68]
call fcn.140005880
xor r8d, r8d
lea edx, [r12 + 1]
mov rcx, rax
call fcn.140005310
jmp 0x140009536
cmp byte [rdi - 0x6c], r12b
je 0x140009536
cmp dword [rdi + 0x288], r12d
jne 0x140009536
lea rcx, [rsp + 0x48]
call fcn.14000a280
lea rax, vtable.SynDevice.1.0
mov qword [rsp + 0x40], rax
lea rax, vtable.SynDevice.0
mov qword [rsp + 0x50], rax
lea rax, vtable.CDummySynDevice.0
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], r12d
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x38], r12d
mov rcx, qword [rdi + 0x298]
test rcx, rcx
jne 0x140009385
lea rcx, [rdi + 0x2a0]
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
mov edx, 0x10000002
call qword [rax + 0x30]
mov ebx, r12d
cmp dword [rsp + 0x38], ebx
jle 0x140009437
lea eax, [rbx - 1]
mov dword [rsp + 0x30], eax
mov rcx, qword [rdi + 0x298]
test rcx, rcx
jne 0x1400093bc
lea rcx, [rdi + 0x2a0]
mov rax, qword [rcx]
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x20]
test eax, eax
jne 0x14000942b
mov edx, dword [rsp + 0x30]
cmp edx, ebx
jne 0x14000942b
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x48]
test rax, rax
cmovne rcx, rax
mov rax, qword [rcx]
call qword [rax + 0x78]
test eax, eax
jne 0x14000942b
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x48]
mov edx, 0x100031c
cmp dword [rdi + 0x28c], 0
je 0x140009417
test rax, rax
cmovne rcx, rax
xor r8d, r8d
jmp 0x140009425
test rax, rax
cmovne rcx, rax
mov r8d, dword [rdi + 0x284]
mov rax, qword [rcx]
call qword [rax + 0x30]
inc ebx
cmp ebx, dword [rsp + 0x38]
jl 0x1400093a2
lea rcx, [rsp + 0x40]
call fcn.140007760
jmp 0x140009536
add rcx, 0xffffffffffffff78
call fcn.140009f20
jmp 0x14000952e
movzx r14d, byte [r15 + 0x31]
shl r14d, 8
movzx eax, byte [r15 + 0x30]
or r14d, eax
shl r14d, 8
movzx eax, byte [r15 + 0x2f]
or r14d, eax
shl r14d, 8
movzx eax, byte [r15 + 0x2e]
or r14d, eax
cmp edx, 0x1c1a
jne 0x1400094ad
movzx esi, byte [r15 + 0x35]
shl esi, 8
movzx eax, byte [r15 + 0x34]
or esi, eax
shl esi, 8
movzx eax, byte [r15 + 0x33]
or esi, eax
shl esi, 8
movzx eax, byte [r15 + 0x32]
or esi, eax
jmp 0x1400094b1
mov esi, dword [rsp + 0x30]
mov r9d, r14d
lea r8, str.CEnhanceCallerService::Update:_SessionID:__d
mov edx, 0x104
lea rcx, [rbp - 0x40]
call fcn.14000e9cc
mov rax, qword [rdi + 0x270]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14000952e
cmp dword [rbx + 0x10], r14d
jne 0x1400094fd
movzx eax, byte [r15 + 0x2d]
cmp al, 0x1b
je 0x140009512
cmp al, 0x1c
jne 0x1400094fd
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
cmp esi, eax
jne 0x1400094fd
test esi, esi
jne 0x140009509
mov rbx, qword [rbx]
cmp rbx, qword [rdi + 0x270]
jmp 0x1400094d6
mov dword [rbx + 0x20], 1
jmp 0x14000952e
mov dword [rbx + 0x20], 1
lea r8, str.CEnhanceCallerService::Update:_Kill_Temped
mov edx, 0x104
lea rcx, [rbp - 0x40]
call fcn.14000e9cc
mov dword [rsp + 0x34], 1
mov r8, qword [r15 + 0x18]
mov r9, qword [rdi + 0x268]
mov rax, qword [r9 + 0x20]
mov rdx, qword [r9 + 0x28]
cmp rax, rdx
je 0x14000959f
nop
mov rcx, qword [rax]
cmp r8, qword [rcx + 0x18]
je 0x140009564
add rax, 8
cmp rax, rdx
jne 0x140009550
jmp 0x14000959f
mov rbx, rcx
test rcx, rcx
je 0x14000959f
mov rdx, rcx
mov rcx, r9
call fcn.140001d80
test eax, eax
je 0x14000959f
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x30]
mov r8d, 4
lea rdx, [rsp + 0x34]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14000d3c0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret