Function at 0x18008b7a0
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 [0x18026b028]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rax, qword [0x18039f658]
lea r8, [0x18039f558]
lea rdx, [0x180222960]
mov rcx, qword [rax + 0x170]
mov rax, qword [rcx]
call qword [rax + 0x38]
xor ebx, ebx
movabs rdi, 0xabdbdea77899cd00
movabs rsi, 0xb87bc3aa13c2c047
movabs r14, 0x4092d29bcc707c7c
movabs r15, 0x284597e0d4a24279
movabs r12, 0xca0b21d14b73a0ee
movabs r13, 0x70afbb96facae98b
test eax, eax
jns 0x18008b9a8
mov dl, 3
call fcn.1800f8110
movabs rax, 0xcc5ba7cf7faba121
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, 0x25f6f2efa9175c13
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rax, 0x4737f1c0b1c12b0f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0xa26851b03c008083
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0x70afbb96faa480ea
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 0x18008b98a
nop word [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18008b980
mov rcx, qword [0x18034cf40]
sub r8d, edx
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x18008b9bf
mov rcx, qword [0x18039f558]
lea rdx, [0x18039f560]
mov rax, qword [rcx]
call qword [rax + 0x140]
mov ecx, dword [0x180399320]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1803a0684], ecx
jle 0x18008ba03
lea rcx, [0x1803a0684]
call fcn.18015d060
cmp dword [0x1803a0684], 0xffffffff
jne 0x18008ba03
lea rcx, [0x1803a0684]
call fcn.18015cff4
mov rax, qword [0x18039f658]
lea rdx, [rbp + 0xd0]
mov rcx, qword [rax + 0x170]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rax, qword [0x18039f658]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
lea r8, [0x180222970]
xor edx, edx
mov rcx, qword [rax + 0x170]
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
js 0x18008c466
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x18008c466
cmp dword [rbp + 0xe0], 0x1d
lea r9, [0x18039f640]
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 [0x18039f558]
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x44], 4
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x18008c45b
mov dl, 2
call fcn.1800f8110
movabs rax, 0xcc5ba7cf7faba121
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x20], rax
movabs rax, 0x25e6b3febe135c13
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x18], rax
movabs rax, 0x837f284bac73059
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x10], rax
movabs rax, 0xbc2b55b42c01c19a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 8], rax
movabs rax, 0x18dbd2e1dabd8ce2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp], rax
movabs rax, 0xf984ef963caa8920
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 8], rax
movabs rax, 0xcf182745e1c22649
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x10], rax
movabs rax, 0x44aedb02302f2d61
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x18], rax
movabs rax, 0xc5a21ab083de3c3b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x20], rax
movabs rax, 0xb71375535d41df6a
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, 0x815d6a0ca59d701d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1b0], rax
movabs rax, 0x1ceb8f5d7e606432
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1b8], rax
movabs rax, 0xeb8c5e82c68c696f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1c0], rax
movabs rax, 0xb71375535d41df44
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 0x18008bce0
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18008bcd6
mov rcx, qword [0x18034cf40]
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.1800f8110
movabs rax, 0xdf15aad361b6a535
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x30], rax
movabs rax, 0x21f7a0f8ec1f085c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x38], rax
movabs rax, 0x4d21f985a682270d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x40], rax
movabs rax, 0xbe6e46a32a07809c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x48], rax
movabs rax, 0x19d89be19fa39fab
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x50], rax
movabs rax, 0x9aea9a943cb9a574
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x58], rax
movabs rax, 0xcc142e53f3c92242
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x60], rax
movabs rax, 0x48b4c11237332a77
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x68], rax
movabs rax, 0xafbe1bd093d8312a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x70], rax
movabs rax, 0xb713757d736f8c09
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, 0x815d6a0ca59d701d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x200], rax
movabs rax, 0x1ceb8f5d7e606432
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x208], rax
movabs rax, 0xeb8c5e82c68c696f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x210], rax
movabs rax, 0xb71375535d41df44
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 0x18008bf3a
nop
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18008bf30
mov rcx, qword [0x18034cf40]
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 [0x18039f558]
lea r9, [0x18039f640]
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 0x18008c45b
mov dl, 2
call fcn.1800f8110
movabs rax, 0xcc5ba7cf7faba121
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x80], rax
movabs rax, 0x25e6b3febe135c13
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x88], rax
movabs rax, 0x837f284bac73059
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x90], rax
movabs rax, 0xbc2b55b42c01c19a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x98], rax
movabs rax, 0x18dbd2e1dabd8ce2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xa0], rax
movabs rax, 0xf984ef963caa8920
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xa8], rax
movabs rax, 0xcf182745e1c22649
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xb0], rax
movabs rax, 0x44aedb02302f2d61
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xb8], rax
movabs rax, 0xc5a21ab083de3c3b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xc0], rax
movabs rax, 0xb71375535d41df6a
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, 0x815d6a0ca59d701d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x250], rax
movabs rax, 0x1ceb8f5d7e606432
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x258], rax
movabs rax, 0xeb8c5e82c68c696f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x260], rax
movabs rax, 0xb71375535d41df44
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 0x18008c20a
nop dword [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18008c200
mov rcx, qword [0x18034cf40]
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.1800f8110
movabs rax, 0xdf15aad361b6a535
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, 0x4092d29bcc5e5252
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 0x18008c2ba
nop word [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18008c2b0
mov rcx, qword [0x18034cf40]
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 [0x18039f558]
lea r9, [0x18039f640]
mov rdx, qword [rsp + 0x38]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x18008c45b
mov dl, 3
call fcn.1800f8110
movabs rax, 0xcc5ba7cf7faba121
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, 0x25e6b3febe135c13
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x48], rax
movabs rax, 0x837f284bac73059
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x40], rax
movabs rax, 0xbc2b55b42c01c19a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x38], rax
movabs rax, 0x70afbb96fabd8ce2
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 0x18008c43f
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18008c435
mov rcx, qword [0x18034cf40]
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.18015cd30
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