Function at 0x18004f270
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 [0x18015f040]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rax, qword [0x180161688]
lea r8, [0x1801614d0]
lea rdx, [0x1801498f0]
mov rcx, qword [rax + 0x170]
mov rax, qword [rcx]
call qword [rax + 0x38]
xor ebx, ebx
movabs rdi, 0x985991ad097960ec
movabs rsi, 0xd18b1bb4cc7bf9df
movabs r14, 0x27837a915072df08
movabs r15, 0x566a2cd653feb6c1
movabs r12, 0xc09c08fba61418b2
movabs r13, 0xc51feff05423c113
test eax, eax
jns 0x18004f475
mov dl, 3
call fcn.18005c2c0
movabs rax, 0xa5ab7fd1a01298b9
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, 0x42e75ae53515ff67
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rax, 0x39184af6369ddfb7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0xa8ff789ad16738df
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0xc51feff0544da872
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 0x18004f45a
nop word [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18004f450
xor r9d, r9d
mov qword [rsp + 0x20], rbx
sub r8d, edx
lea rdx, [rbp - 0x80]
lea rcx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x18004f48c
mov rcx, qword [0x1801614d0]
lea rdx, [0x1801614d8]
mov rax, qword [rcx]
call qword [rax + 0x140]
mov ecx, dword [0x1801606d4]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180161b04], ecx
jle 0x18004f4d0
lea rcx, [0x180161b04]
call fcn.1800c1a00
cmp dword [0x180161b04], 0xffffffff
jne 0x18004f4d0
lea rcx, [0x180161b04]
call fcn.1800c1994
mov rax, qword [0x180161688]
lea rdx, [rbp + 0xd0]
mov rcx, qword [rax + 0x170]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rax, qword [0x180161688]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
lea r8, [0x180149900]
xor edx, edx
mov rcx, qword [rax + 0x170]
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
js 0x18004ff20
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x18004ff20
cmp dword [rbp + 0xe0], 0x1d
lea r9, [0x180161680]
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 [0x1801614d0]
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x44], 4
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x18004ff15
mov dl, 2
call fcn.18005c2c0
movabs rax, 0xa5ab7fd1a01298b9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x20], rax
movabs rax, 0x42f71bf42211ff67
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x18], rax
movabs rax, 0x761849b23d9bc4e1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x10], rax
movabs rax, 0xb6bc7c9ec16679c6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 8], rax
movabs rax, 0xad6b86877454a47a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp], rax
movabs rax, 0xca06a09c4d4a24cc
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 8], rax
movabs rax, 0xae249aeb171dd421
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x10], rax
movabs rax, 0x541530d8bdd09c45
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x18], rax
movabs rax, 0x83e7697efeeece53
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x20], rax
movabs rax, 0xdeb71e09d0f7ac9e
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, 0xe061d7a253428275
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1b0], rax
movabs rax, 0xc506487f39fd516
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1b8], rax
movabs rax, 0xadc92d4cbbbc9b07
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1c0], rax
movabs rax, 0xdeb71e09d0f7acb0
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 0x18004f7ad
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18004f7a3
xor r9d, r9d
mov qword [rsp + 0x20], rbx
sub r8d, edx
lea rdx, [rbp - 0x20]
lea rcx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dl, 1
call fcn.18005c2c0
movabs rax, 0xb6e572cdbe0f9cad
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x30], rax
movabs rax, 0x46e608f2701dab28
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x38], rax
movabs rax, 0x330e42b321ded3b5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x40], rax
movabs rax, 0xb4f96f89c76038c0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x48], rax
movabs rax, 0xac68cf87314ab733
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x50], rax
movabs rax, 0xa968d59e4d590898
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x58], rax
movabs rax, 0xad2893fd0516d02a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x60], rax
movabs rax, 0x580f2ac8bacc9b53
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x68], rax
movabs rax, 0xe9fb681eeee8c342
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x70], rax
movabs rax, 0xdeb71e27fed9fffd
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, 0xe061d7a253428275
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x200], rax
movabs rax, 0xc506487f39fd516
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x208], rax
movabs rax, 0xadc92d4cbbbc9b07
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x210], rax
movabs rax, 0xdeb71e09d0f7acb0
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 0x18004fa0a
nop dword [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18004fa00
xor r9d, r9d
mov qword [rsp + 0x20], rbx
sub r8d, edx
lea rdx, [rbp + 0x30]
lea rcx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x1801614d0]
lea r9, [0x180161680]
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 0x18004ff15
mov dl, 2
call fcn.18005c2c0
movabs rax, 0xa5ab7fd1a01298b9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x80], rax
movabs rax, 0x42f71bf42211ff67
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x88], rax
movabs rax, 0x761849b23d9bc4e1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x90], rax
movabs rax, 0xb6bc7c9ec16679c6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x98], rax
movabs rax, 0xad6b86877454a47a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xa0], rax
movabs rax, 0xca06a09c4d4a24cc
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xa8], rax
movabs rax, 0xae249aeb171dd421
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xb0], rax
movabs rax, 0x541530d8bdd09c45
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xb8], rax
movabs rax, 0x83e7697efeeece53
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xc0], rax
movabs rax, 0xdeb71e09d0f7ac9e
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, 0xe061d7a253428275
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x250], rax
movabs rax, 0xc506487f39fd516
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x258], rax
movabs rax, 0xadc92d4cbbbc9b07
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x260], rax
movabs rax, 0xdeb71e09d0f7acb0
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 0x18004fccf
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18004fcc5
xor r9d, r9d
mov qword [rsp + 0x20], rbx
sub r8d, edx
lea rdx, [rbp + 0x80]
lea rcx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dl, 1
call fcn.18005c2c0
movabs rax, 0xb6e572cdbe0f9cad
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, 0x27837a91505cf126
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 0x18004fd7a
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18004fd70
xor r9d, r9d
mov qword [rsp + 0x20], rbx
sub r8d, edx
lea rdx, [rsp + 0x70]
lea rcx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x1801614d0]
lea r9, [0x180161680]
mov rdx, qword [rsp + 0x38]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x18004ff15
mov dl, 3
call fcn.18005c2c0
movabs rax, 0xa5ab7fd1a01298b9
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x50]
mov rax, qword [rsp + 0x30]
mov r8d, ecx
mov qword [rbp - 0x50], rax
movabs rax, 0x42f71bf42211ff67
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x48], rax
movabs rax, 0x761849b23d9bc4e1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x40], rax
movabs rax, 0xb6bc7c9ec16679c6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x38], rax
movabs rax, 0xc51feff05454a47a
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 0x18004fefc
inc rdx
mov r8, rdx
cmp byte [rdx], bl
jne 0x18004fef2
xor r9d, r9d
mov qword [rsp + 0x20], rbx
sub r8d, ecx
lea rdx, [rbp - 0x50]
lea rcx, [r9 - 1]
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.1800c16d0
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