Function at 0x180073720
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x180141040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword gs:[0x60]
mov rbx, rcx
test rcx, rcx
jne 0x180073755
mov rax, qword [rax + 0x10]
jmp 0x1800739d8
mov r10, qword [rax + 0x18]
add r10, 0x20
mov qword [rsp + 0xd0], rdi
xor edi, edi
mov r9, qword [r10]
cmp r9, r10
je 0x1800737c1
nop
cmp qword [r9 + 0x40], rdi
je 0x1800737aa
mov rax, qword [r9 + 0x50]
test rax, rax
je 0x1800737aa
mov r8, rbx
sub r8, rax
nop word [rax + rax]
movsx ecx, word [r8 + rax]
movsx edx, word [rax]
lea rax, [rax + 2]
test cx, cx
je 0x1800737a6
cmp cx, dx
je 0x180073790
sub ecx, edx
je 0x1800737b4
mov r9, qword [r9]
cmp r9, r10
jne 0x180073770
jmp 0x1800737c1
mov rdi, qword [r9 + 0x20]
test rdi, rdi
jne 0x1800739cd
mov qword [rsp + 0xc8], rsi
mov dl, 3
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xa0], r15
call fcn.180072d40
mov rsi, rax
lea rdx, [rsp + 0x50]
movabs rax, 0xd425bcfc11ceca92
movabs r15, 0xb605d99064aaa5ff
mov qword [rsp + 0x30], rax
movabs r14, 0x56745a5543c03140
mov rcx, qword [rsp + 0x30]
movabs rax, 0x7600353b63a54221
mov qword [rsp + 0x50], rcx
mov r8d, edx
mov qword [rsp + 0x30], rax
movabs rax, 0x5a59346645ecbf1f
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x60], rcx
movabs rcx, 0x57feb027f04a17a2
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
movabs rax, 0x78790e022b99d079
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov rax, qword [rsp + 0x30]
vmovdqu xmm0, xmmword [rsp + 0x50]
vpxor xmm2, xmm0, xmmword [rsp + 0x70]
vmovdqu xmm0, xmmword [rsp + 0x60]
mov qword [rsp + 0x88], rax
vpxor xmm1, xmm0, xmmword [rsp + 0x80]
vmovq rax, xmm2
vmovdqu xmmword [rsp + 0x60], xmm1
vmovdqu xmmword [rsp + 0x50], xmm2
test al, al
je 0x1800738ef
inc rcx
mov r8, rcx
cmp byte [rcx], 0
jne 0x1800738e4
mov rcx, qword [0x180141318]
sub r8d, edx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], 0
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rbx
mov rcx, rsi
call fcn.180072eb0
mov rsi, qword [rsp + 0xc8]
lea rdx, [rsp + 0x40]
movabs rax, 0xb605d99064aaa5dd
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov r8d, edx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov r15, qword [rsp + 0xa0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
vmovdqu xmm0, xmmword [rsp + 0x40]
mov r14, qword [rsp + 0xa8]
mov qword [rsp + 0x78], rax
vpxor xmm1, xmm0, xmmword [rsp + 0x70]
vmovq rax, xmm1
vmovdqu xmmword [rsp + 0x40], xmm1
test al, al
je 0x1800739ac
inc rcx
mov r8, rcx
cmp byte [rcx], 0
jne 0x1800739a1
mov rcx, qword [0x180141318]
sub r8d, edx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], 0
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, rdi
mov rdi, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1800d7380
add rsp, 0xb0
pop rbx
ret