Function at 0x140036de0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rsi, rcx
mov r12d, dword [rbp + 0x120]
mov rbx, qword [rbp + 0x138]
mov r13d, dword [rbp + 0x140]
mov r15, qword [rbp + 0x158]
xor r14d, r14d
mov rax, qword [rcx + 0x138]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14003711c
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x40]
call fcn.140306610
lea rcx, [rbp - 0x40]
call fcn.140030620
nop
lea rdi, str.NULL
mov rdx, rdi
test rbx, rbx
cmovne rdx, rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140036ea0
lea rcx, [rsp + 0x60]
call fcn.140030be0
nop
lea rdx, [rsp + 0x60]
call fcn.14009aaa0
lea rdx, str.IPC
lea rcx, [rbp - 0x30]
call fcn.14002dae0
mov rcx, qword [rax]
movsxd r8, dword [rcx + 4]
mov ecx, dword [r8 + rax + 0x18]
and ecx, 0xfffff3ff
mov r14d, 0x200
or ecx, r14d
mov dword [r8 + rax + 0x18], ecx
mov edx, r12d
mov rcx, rax
call fcn.14001df00
mov rcx, rax
lea rdx, [0x140413140]
call fcn.14002dae0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, rax
call fcn.14005efa0
mov rcx, rax
lea rdx, [0x14041313c]
call fcn.140047ea0
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
mov eax, dword [rbp + rcx - 0x18]
and eax, 0xfffff3ff
or eax, r14d
mov dword [rbp + rcx - 0x18], eax
mov edx, r13d
lea rcx, [rbp - 0x30]
call fcn.14001df00
mov rcx, rax
lea rdx, [0x140413154]
call fcn.140047ea0
test r15, r15
cmovne rdi, r15
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xor r12d, r12d
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
inc rbx
cmp word [rdi + rbx*2], r12w
jne 0x140036f83
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140030be0
nop
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.14005efa0
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.14002da00
nop
mov rax, qword [rbp - 0x50]
cmp rax, r14
cmovb r14w, ax
movzx r15d, r14w
lea rdi, [r15*2 + 8]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov qword [rsp + 0x50], r12
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14001fd90
lea rax, [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x40]
lea rbx, [rcx + rdi]
mov r8, rdi
xor edx, edx
call fcn.140306610
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], r12
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1400370ae
mov rax, qword [rsp + 0x48]
sub rax, rbx
cmp rax, rdi
jne 0x1400370ae
mov eax, dword [rbp + 0x148]
mov dword [rbx], eax
mov word [rbx + 4], r14w
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova r8, qword [rbp - 0x60]
lea rdx, [r15 + 1]
lea rcx, [rbx + 6]
call fcn.1402c5e00
mov dword [rsp + 0x58], r12d
lea rcx, [rsi + 0x140]
mov qword [rsp + 0x38], rcx
call fcn.14002d900
nop
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x58]
mov r8d, edi
mov rdx, rbx
mov rcx, qword [rsi + 0x138]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
lea rcx, [rsp + 0x38]
call fcn.14001d6c0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400370f4
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400370e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003714c
call fcn.1402b5c4c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
lea rcx, [rbp - 0x60]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x80]
call fcn.1400166f0
nop
lea rcx, [rsp + 0x60]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x40]
call fcn.14002e0d0
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1402b5c00
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1402c5d0c
nop
int3