Function at 0x7ff7f3a46e50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x320
mov rax, qword [0x7ff7f3d30410]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x7ff7f3d42848], eax
jle 0x7ff7f3a46f00
lea rcx, [0x7ff7f3d42848]
call fcn.7ff7f3c4c234
cmp dword [0x7ff7f3d42848], 0xffffffff
jne 0x7ff7f3a46f00
lea rax, [0x7ff7f3d42850]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [0x7ff7f3d42850]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov rcx, rax
call fcn.7ff7f3a11740
lea rax, [0x7ff7f3d42850]
mov qword [rsp + 0x240], rax
lea rcx, [0x7ff7f3cf2840]
call fcn.7ff7f3c4c058
lea rcx, [0x7ff7f3d42848]
call fcn.7ff7f3c4c1d4
lea rax, [0x7ff7f3d42850]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 3
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0x120], 0x123
jae 0x7ff7f3a4702f
mov byte [rsp + 0x20], 1
lea rax, [0x7ff7f3d42850]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 3
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
xor rax, 0xaac
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0xa8], rax
movzx eax, byte [rsp + 0x2e]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x22], al
mov r9, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xa8]
movzx edx, byte [rsp + 0x22]
lea rcx, [rsp + 0x138]
call fcn.7ff7f3b65240
nop
lea rax, [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov rdx, qword [rsp + 0x140]
lea rcx, [0x7ff7f3d42850]
call fcn.7ff7f3b49cf0
jmp 0x7ff7f3a4703b
lea rcx, [0x7ff7f3d42850]
call fcn.7ff7f3b49c50
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x25]
mov byte [rsp + 0x40], al
movabs rax, 0x47ad0e9ab2db52d0
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x230], rax
movabs rax, 0xb42ef4b3ca7e6e78
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x238], rax
lea rax, [rsp + 0x230]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x258]
mov qword [rsp + 0xb8], rax
movabs rax, 0x47ad0e9ab2db30a7
mov qword [rsp + 0x300], rax
movabs rax, 0xb42ef4b3ca7e6e78
mov qword [rsp + 0x308], rax
lea rax, [rsp + 0x26]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x26]
mov byte [rsp + 0x48], al
movdqa xmm0, xmmword [rsp + 0x300]
movdqa xmmword [rsp + 0x2c0], xmm0
mov rax, qword [rsp + 0x70]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x2b0], xmm0
movdqa xmm0, xmmword [rsp + 0x2b0]
pxor xmm0, xmmword [rsp + 0x2c0]
movdqa xmmword [rsp + 0x2d0], xmm0
mov rax, qword [rsp + 0x70]
movdqa xmm0, xmmword [rsp + 0x2d0]
movdqu xmmword [rax], xmm0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x330]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x78]
cmp qword [rax + 0x18], 0x10
jb 0x7ff7f3a471c6
mov dword [rsp + 0x54], 1
jmp 0x7ff7f3a471ce
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x27], al
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x7ff7f3a47200
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
call fcn.7ff7f3cbf148
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x7ff7f3a477a9
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x7ff7f3d42848], eax
jle 0x7ff7f3a472d8
lea rcx, [0x7ff7f3d42848]
call fcn.7ff7f3c4c234
cmp dword [0x7ff7f3d42848], 0xffffffff
jne 0x7ff7f3a472d8
lea rax, [0x7ff7f3d42850]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [0x7ff7f3d42850]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov rcx, rax
call fcn.7ff7f3a11740
lea rax, [0x7ff7f3d42850]
mov qword [rsp + 0x268], rax
lea rcx, [0x7ff7f3cf2840]
call fcn.7ff7f3c4c058
lea rcx, [0x7ff7f3d42848]
call fcn.7ff7f3c4c1d4
lea rax, [0x7ff7f3d42850]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 3
mov qword [rsp + 0x170], rax
cmp qword [rsp + 0x170], 0x123
jae 0x7ff7f3a4740a
mov byte [rsp + 0x28], 1
lea rax, [0x7ff7f3d42850]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 3
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
xor rax, 0xaac
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0xe0], rax
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x29], al
movzx eax, byte [rsp + 0x29]
mov byte [rsp + 0x2a], al
mov r9, qword [rsp + 0xd8]
mov r8, qword [rsp + 0xe0]
movzx edx, byte [rsp + 0x2a]
lea rcx, [rsp + 0x188]
call fcn.7ff7f3b65240
nop
lea rax, [rsp + 0x188]
mov qword [rsp + 0x190], rax
mov rdx, qword [rsp + 0x190]
lea rcx, [0x7ff7f3d42850]
call fcn.7ff7f3b49cf0
jmp 0x7ff7f3a47498
lea rax, [0x7ff7f3d42850]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xe8]
add rax, 8
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax]
mov qword [rsp + 0x288], rax
lea rax, [0x7ff7f3d42850]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
mov rcx, qword [rcx]
mov qword [rax], rcx
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x338]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x1a0], 0x26038
mov rax, qword [rsp + 0x1a0]
xor rax, 0x13
mov qword [rsp + 0x1b8], rax
mov qword [rsp + 0x1a8], 0x13
mov rax, qword [0x7ff7f3d31170]
xor rax, 0x3cc7
imul rax, rax, 9
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x1c0], 0x3cc7
mov rax, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1b0]
lea rax, [rax + rcx + 1]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x1c0]
sub rax, rcx
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x1d0]
xor edx, edx
div rcx
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x338]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x18], 0x10
jb 0x7ff7f3a475bb
mov dword [rsp + 0x58], 1
jmp 0x7ff7f3a475c3
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x2b], al
movzx eax, byte [rsp + 0x2b]
test eax, eax
je 0x7ff7f3a475f8
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x110], rax
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x110]
call fcn.7ff7f3cbf6a4
lea rdx, [0x7ff7f3d140d4]
lea rcx, [rsp + 0x2e0]
call fcn.7ff7f3a00e10
nop
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x1f8], rax
cmp qword [rsp + 0x1f8], 0xc
jae 0x7ff7f3a476c3
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x200], rax
cmp qword [rsp + 0x200], 0
jne 0x7ff7f3a47692
mov dword [rsp + 0x5c], 1
jmp 0x7ff7f3a4769a
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x5c]
mov byte [rsp + 0x2c], al
movzx eax, byte [rsp + 0x2c]
test eax, eax
jne 0x7ff7f3a476c3
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x2e0]
call fcn.7ff7f3a00ce0
jmp 0x7ff7f3a476d3
xor edx, edx
lea rcx, [rsp + 0x2e0]
call fcn.7ff7f3a0b8e0
nop
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x208], rax
cmp qword [rsp + 0x208], 0
jne 0x7ff7f3a476f8
mov dword [rsp + 0x60], 1
jmp 0x7ff7f3a47700
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x2d], al
movzx eax, byte [rsp + 0x2d]
test eax, eax
je 0x7ff7f3a4778e
mov edx, 7
lea rcx, [rsp + 0x2e0]
call fcn.7ff7f3b4ac40
lea rax, [0x7ff7f3d140d8]
mov qword [rsp + 0x210], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x68]
cmp byte [rax + rcx], 0
jne 0x7ff7f3a4773c
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x220], rax
mov r8, qword [rsp + 0x220]
lea rdx, [0x7ff7f3d140d8]
lea rcx, [rsp + 0x2e0]
call fcn.7ff7f3a040e0
nop
lea rcx, [rsp + 0x2e0]
call fcn.7ff7f3a03e50
mov rcx, qword [rsp + 0x88]
call fcn.7ff7f3cbf1d8
nop
mov rcx, qword [rsp + 0x330]
call fcn.7ff7f3a03e50
nop
mov rcx, qword [rsp + 0x338]
call fcn.7ff7f3a03e50
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.7ff7f3c4ba40
add rsp, 0x320
pop rdi
ret