Function at 0x180062b10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x18017c040]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rax, qword [0x18017e910]
lea r8, [0x18017e768]
lea rdx, [0x1801643a0]
mov rcx, qword [rax + 0x170]
mov rax, qword [rcx]
call qword [rax + 0x38]
xor ebx, ebx
movabs rdi, 0xe8f45940589d3f3a
movabs rsi, 0xe996383116b7a585
movabs r14, 0x216ff70400bc85c6
movabs r15, 0xb9d6aecf14cf65e7
movabs r12, 0xbe91939255bd1558
movabs r13, 0x237c60df7a22729
test eax, eax
jns 0x180062d18
mov dl, 3
call fcn.180076910
movabs rax, 0x9db65c547adec4e3
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x80]
mov rax, qword [rsp + 0x30]
mov r8d, edx
mov qword [rbp - 0x80], rax
movabs rax, 0x440bd77065dba5a9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rax, 0xd6a4c8ef71ac0c91
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0xd6f2e3f322ce3535
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0x237c60df7cc4e48
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov qword [rbp + 0x120], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r15
mov qword [rbp + 0x128], rax
mov rax, qword [rsp + 0x30]
movdqa xmm2, xmmword [rbp + 0x120]
mov qword [rsp + 0x30], r12
mov qword [rbp + 0x130], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x138], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x140], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
xorps xmm2, xmmword [rbp - 0x80]
movdqa xmm0, xmmword [rbp - 0x70]
movdqa xmm1, xmmword [rbp - 0x60]
xorps xmm0, xmmword [rbp + 0x130]
mov qword [rbp + 0x148], rax
movq rax, xmm2
xorps xmm1, xmmword [rbp + 0x140]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmmword [rbp - 0x80], xmm2
movdqa xmmword [rbp - 0x70], xmm0
test al, al
je 0x180062cfa
nop word [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180062cf0
mov rcx, qword [0x18017ced8]
sub r8d, edx
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x180062d2f
mov rcx, qword [0x18017e768]
lea rdx, [0x18017e770]
mov rax, qword [rcx]
call qword [rax + 0x140]
mov ecx, dword [0x18017d784]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x18017eec4], ecx
jle 0x180062d73
lea rcx, [0x18017eec4]
call fcn.1800dc280
cmp dword [0x18017eec4], 0xffffffff
jne 0x180062d73
lea rcx, [0x18017eec4]
call fcn.1800dc214
mov rax, qword [0x18017e910]
lea rdx, [rbp + 0xd0]
mov rcx, qword [rax + 0x170]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rax, qword [0x18017e910]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
lea r8, [0x1801643b0]
xor edx, edx
mov rcx, qword [rax + 0x170]
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
js 0x1800637d6
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x1800637d6
cmp dword [rbp + 0xe0], 0x1d
lea r9, [0x18017e908]
mov ecx, 0x1c
mov qword [rsp + 0x48], rbx
cmovne ecx, dword [rbp + 0xe0]
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], ecx
mov rcx, qword [0x18017e768]
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x44], 4
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x1800637cb
mov dl, 2
call fcn.180076910
movabs rax, 0x9db65c547adec4e3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x20], rax
movabs rax, 0x441b966172dfa5a9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x18], rax
movabs rax, 0x99a4cbab7aaa17c7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x10], rax
movabs rax, 0xc8b1e7f732cf742c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 8], rax
movabs rax, 0x6a43af7ad7d54240
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp], rax
movabs rax, 0xbaab68711cae7b1a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 8], rax
movabs rax, 0xff57f327180a35f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x10], rax
movabs rax, 0x58791a414a3792df
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x18], rax
movabs rax, 0x5484b65b392c8cb9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x20], rax
movabs rax, 0x49f02a9cc63b6b20
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x28], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov qword [rbp + 0x180], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r15
mov qword [rbp + 0x188], rax
mov rax, qword [rsp + 0x30]
movdqa xmm2, xmmword [rbp + 0x180]
mov qword [rsp + 0x30], r12
mov qword [rbp + 0x190], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r13
mov qword [rbp + 0x198], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rdi
mov qword [rbp + 0x1a0], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1a8], rax
movabs rax, 0x41b0327b35dff50b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1b0], rax
movabs rax, 0x3c4e1e0478db8c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1b8], rax
movabs rax, 0x7aaaf2697c7ed9ed
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1c0], rax
movabs rax, 0x49f02a9cc63b6b0e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
xorps xmm2, xmmword [rbp - 0x20]
movdqa xmm0, xmmword [rbp - 0x10]
xorps xmm0, xmmword [rbp + 0x190]
movdqa xmmword [rbp - 0x20], xmm2
mov qword [rbp + 0x1c8], rax
movdqa xmm1, xmmword [rbp]
lea rdx, [rbp - 0x20]
xorps xmm1, xmmword [rbp + 0x1a0]
lea rcx, [rbp - 0x20]
movdqa xmmword [rbp], xmm1
movq rax, xmm2
movdqa xmm1, xmmword [rbp + 0x20]
mov r8d, edx
xorps xmm1, xmmword [rbp + 0x1c0]
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmm0, xmmword [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0x1b0]
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmmword [rbp + 0x10], xmm0
test al, al
je 0x180063050
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180063046
mov rcx, qword [0x18017ced8]
sub r8d, edx
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dl, 1
call fcn.180076910
movabs rax, 0x8ef8514864c3c0f7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x30], rax
movabs rax, 0x400a856720d3f1e6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x38], rax
movabs rax, 0xdcb2c0aa66ef0093
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x40], rax
movabs rax, 0xcaf4f4e034c9352a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x48], rax
movabs rax, 0x6b40e67a92cb5109
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x50], rax
movabs rax, 0xd9c51d731cbd574e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x58], rax
movabs rax, 0xcf97624638ba754
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x60], rax
movabs rax, 0x546300514d2b95c9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x68], rax
movabs rax, 0x3e98b73b292a81a8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x70], rax
movabs rax, 0x49f02ab2e8153843
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x78], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov qword [rbp + 0x1d0], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r15
mov qword [rbp + 0x1d8], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r12
mov qword [rbp + 0x1e0], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r13
mov qword [rbp + 0x1e8], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rdi
mov qword [rbp + 0x1f0], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1f8], rax
movabs rax, 0x41b0327b35dff50b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x200], rax
movabs rax, 0x3c4e1e0478db8c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x208], rax
movabs rax, 0x7aaaf2697c7ed9ed
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x210], rax
movabs rax, 0x49f02a9cc63b6b0e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x40]
lea rdx, [rbp + 0x30]
xorps xmm0, xmmword [rbp + 0x1e0]
lea rcx, [rbp + 0x30]
movdqa xmm1, xmmword [rbp + 0x50]
mov r8d, edx
xorps xmm1, xmmword [rbp + 0x1f0]
movdqa xmm2, xmmword [rbp + 0x30]
xorps xmm2, xmmword [rbp + 0x1d0]
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmm0, xmmword [rbp + 0x60]
xorps xmm0, xmmword [rbp + 0x200]
movdqa xmmword [rbp + 0x50], xmm1
movdqa xmm1, xmmword [rbp + 0x70]
mov qword [rbp + 0x218], rax
movq rax, xmm2
xorps xmm1, xmmword [rbp + 0x210]
movdqa xmmword [rbp + 0x60], xmm0
movdqa xmmword [rbp + 0x70], xmm1
movdqa xmmword [rbp + 0x30], xmm2
test al, al
je 0x1800632aa
nop
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x1800632a0
mov rcx, qword [0x18017ced8]
sub r8d, edx
lea rdx, [rbp + 0x30]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x18017e768]
lea r9, [0x18017e908]
mov rdx, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
mov dword [rsp + 0x44], 6
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x1800637cb
mov dl, 2
call fcn.180076910
movabs rax, 0x9db65c547adec4e3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x80], rax
movabs rax, 0x441b966172dfa5a9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x88], rax
movabs rax, 0x99a4cbab7aaa17c7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x90], rax
movabs rax, 0xc8b1e7f732cf742c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x98], rax
movabs rax, 0x6a43af7ad7d54240
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xa0], rax
movabs rax, 0xbaab68711cae7b1a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xa8], rax
movabs rax, 0xff57f327180a35f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xb0], rax
movabs rax, 0x58791a414a3792df
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xb8], rax
movabs rax, 0x5484b65b392c8cb9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xc0], rax
movabs rax, 0x49f02a9cc63b6b20
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xc8], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov qword [rbp + 0x220], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r15
mov qword [rbp + 0x228], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r12
mov qword [rbp + 0x230], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r13
mov qword [rbp + 0x238], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rdi
mov qword [rbp + 0x240], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x248], rax
movabs rax, 0x41b0327b35dff50b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x250], rax
movabs rax, 0x3c4e1e0478db8c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x258], rax
movabs rax, 0x7aaaf2697c7ed9ed
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x260], rax
movabs rax, 0x49f02a9cc63b6b0e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movdqa xmm2, xmmword [rbp + 0x80]
xorps xmm2, xmmword [rbp + 0x220]
movdqa xmm0, xmmword [rbp + 0x90]
xorps xmm0, xmmword [rbp + 0x230]
movdqa xmmword [rbp + 0x80], xmm2
mov qword [rbp + 0x268], rax
movdqa xmm1, xmmword [rbp + 0xa0]
lea rdx, [rbp + 0x80]
xorps xmm1, xmmword [rbp + 0x240]
lea rcx, [rbp + 0x80]
movdqa xmmword [rbp + 0xa0], xmm1
movq rax, xmm2
movdqa xmm1, xmmword [rbp + 0xc0]
mov r8d, edx
xorps xmm1, xmmword [rbp + 0x260]
movdqa xmmword [rbp + 0x90], xmm0
movdqa xmm0, xmmword [rbp + 0xb0]
xorps xmm0, xmmword [rbp + 0x250]
movdqa xmmword [rbp + 0xc0], xmm1
movdqa xmmword [rbp + 0xb0], xmm0
test al, al
je 0x18006357a
nop dword [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180063570
mov rcx, qword [0x18017ced8]
sub r8d, edx
lea rdx, [rbp + 0x80]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dl, 1
call fcn.180076910
movabs rax, 0x8ef8514864c3c0f7
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x70]
mov rax, qword [rsp + 0x30]
mov r8d, edx
mov qword [rsp + 0x70], rax
movabs rax, 0x216ff7040092abe8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rsp + 0x70]
mov qword [rsp + 0x68], rax
xorps xmm0, xmmword [rsp + 0x60]
movq rax, xmm0
movdqa xmmword [rsp + 0x70], xmm0
test al, al
je 0x18006362a
nop word [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180063620
mov rcx, qword [0x18017ced8]
sub r8d, edx
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x18017e768]
lea r9, [0x18017e908]
mov rdx, qword [rsp + 0x38]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x1800637cb
mov dl, 3
call fcn.180076910
movabs rax, 0x9db65c547adec4e3
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x50]
mov rax, qword [rsp + 0x30]
mov r8d, edx
mov qword [rbp - 0x50], rax
movabs rax, 0x441b966172dfa5a9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x48], rax
movabs rax, 0x99a4cbab7aaa17c7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x40], rax
movabs rax, 0xc8b1e7f732cf742c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x38], rax
movabs rax, 0x237c60df7d54240
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x30], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x28], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov qword [rbp + 0x150], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r15
mov qword [rbp + 0x158], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r12
mov qword [rbp + 0x160], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x168], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x170], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
movdqa xmm2, xmmword [rbp - 0x50]
xorps xmm2, xmmword [rbp + 0x150]
movdqa xmm0, xmmword [rbp - 0x40]
movdqa xmm1, xmmword [rbp - 0x30]
xorps xmm0, xmmword [rbp + 0x160]
mov qword [rbp + 0x178], rax
movq rax, xmm2
xorps xmm1, xmmword [rbp + 0x170]
movdqa xmmword [rbp - 0x50], xmm2
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmmword [rbp - 0x30], xmm1
test al, al
je 0x1800637af
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x1800637a5
mov rcx, qword [0x18017ced8]
sub r8d, edx
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1800dbf50
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret