Function at 0x140012160
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
movaps xmmword [rsp + 0x250], xmm6
mov ebx, edx
mov rsi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_GetLocalTime]
lea rcx, [0x1402883e8]
call fcn.140070b30
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
movzx edx, word [rsp + 0x50]
lea rcx, [rsp + 0x238]
call fcn.140073750
lea r8, str.___:
lea rcx, [rsp + 0x238]
xor edx, edx
call fcn.140072900
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x110], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x100], xmm0
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
lea rdx, [0x1401f5554]
lea rcx, [rsp + 0x100]
call fcn.140072e90
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x130], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x120], xmm0
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
movzx edx, word [rsp + 0x52]
lea rcx, [rsp + 0xd8]
call fcn.140073750
movzx r8d, byte [rsp + 0xd8]
test r8b, 1
je 0x14001225a
mov rdx, qword [rsp + 0xe8]
mov r8, qword [rsp + 0xe0]
jmp 0x140012265
shr r8, 1
lea rdx, [rsp + 0xda]
lea rcx, [rsp + 0x120]
call fcn.140072750
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x150], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x140], xmm0
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
lea rdx, [0x1401f5554]
lea rcx, [rsp + 0x140]
call fcn.140072e90
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x170], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x160], xmm0
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
movzx edx, word [rsp + 0x56]
lea rcx, [rsp + 0xc0]
call fcn.140073750
movzx r8d, byte [rsp + 0xc0]
test r8b, 1
je 0x140012300
mov rdx, qword [rsp + 0xd0]
mov r8, qword [rsp + 0xc8]
jmp 0x14001230b
shr r8, 1
lea rdx, [rsp + 0xc2]
lea rcx, [rsp + 0x160]
call fcn.140072750
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x190], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x180], xmm0
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
lea rdx, [0x1401f5558]
lea rcx, [rsp + 0x180]
call fcn.140072e90
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x1b0], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x1a0], xmm0
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
movzx edx, word [rsp + 0x58]
lea rcx, [rsp + 0xa8]
call fcn.140073750
movzx r8d, byte [rsp + 0xa8]
test r8b, 1
je 0x1400123a6
mov rdx, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xb0]
jmp 0x1400123b1
shr r8, 1
lea rdx, [rsp + 0xaa]
lea rcx, [rsp + 0x1a0]
call fcn.140072750
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x1d0], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x1c0], xmm0
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
lea rdx, [0x1401f555c]
lea rcx, [rsp + 0x1c0]
call fcn.140072e90
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x1f0], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x1e0], xmm0
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
movzx edx, word [rsp + 0x5a]
lea rcx, [rsp + 0x90]
call fcn.140073750
movzx r8d, byte [rsp + 0x90]
test r8b, 1
je 0x14001244c
mov rdx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0x98]
jmp 0x140012457
shr r8, 1
lea rdx, [rsp + 0x92]
lea rcx, [rsp + 0x1e0]
call fcn.140072750
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x210], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x200], xmm0
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
lea rdx, [0x1401f555c]
lea rcx, [rsp + 0x200]
call fcn.140072e90
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x230], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x220], xmm0
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
movzx edx, word [rsp + 0x5c]
lea rcx, [rsp + 0x78]
call fcn.140073750
movzx r8d, byte [rsp + 0x78]
test r8b, 1
je 0x1400124ec
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
jmp 0x1400124f4
shr r8, 1
lea rdx, [rsp + 0x7a]
lea rcx, [rsp + 0x220]
call fcn.140072750
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x70], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm0
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
lea rdx, [0x1401f5560]
lea rcx, [rsp + 0x60]
call fcn.140072e90
movzx edi, byte [rax]
movzx ebp, byte [rax + 1]
movzx r14d, word [rax + 2]
mov ecx, dword [rax + 0xc]
mov dword [rsp + 0xf8], ecx
mov rcx, qword [rax + 4]
mov qword [rsp + 0xf0], rcx
mov r15, qword [rax + 0x10]
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
test byte [rsp + 0x30], 1
je 0x140012573
mov rcx, qword [rsp + 0x40]
call fcn.14006fbd0
mov byte [rsp + 0x30], dil
mov byte [rsp + 0x31], bpl
mov word [rsp + 0x32], r14w
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x34], rax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x3c], eax
mov qword [rsp + 0x40], r15
test byte [rsp + 0x60], 1
jne 0x1400126e1
test byte [rsp + 0x78], 1
jne 0x1400126f6
test byte [rsp + 0x220], 1
jne 0x140012711
test byte [rsp + 0x200], 1
jne 0x14001272c
test byte [rsp + 0x90], 1
jne 0x140012747
test byte [rsp + 0x1e0], 1
jne 0x140012762
test byte [rsp + 0x1c0], 1
jne 0x14001277d
test byte [rsp + 0xa8], 1
jne 0x140012798
test byte [rsp + 0x1a0], 1
jne 0x1400127b3
test byte [rsp + 0x180], 1
jne 0x1400127ce
test byte [rsp + 0xc0], 1
jne 0x1400127e9
test byte [rsp + 0x160], 1
jne 0x140012804
test byte [rsp + 0x140], 1
jne 0x14001281f
test byte [rsp + 0xd8], 1
jne 0x14001283a
test byte [rsp + 0x120], 1
jne 0x140012855
test byte [rsp + 0x100], 1
jne 0x140012870
test byte [rsp + 0x238], 1
je 0x140012691
mov rcx, qword [rsp + 0x248]
call fcn.14006fbd0
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.140072e90
test bl, bl
je 0x1400126b3
lea rdx, [0x1401f5568]
lea rcx, [rsp + 0x30]
call fcn.140072e90
mov dword [rsp + 0x60], 0
mov rcx, qword [0x140227108]
movzx r8d, byte [rsp + 0x30]
test r8b, 1
je 0x140012890
mov rdx, qword [rsp + 0x40]
mov r8d, dword [rsp + 0x38]
jmp 0x140012898
mov rcx, qword [rsp + 0x70]
call fcn.14006fbd0
test byte [rsp + 0x78], 1
je 0x1400125b6
mov rcx, qword [rsp + 0x88]
call fcn.14006fbd0
test byte [rsp + 0x220], 1
je 0x1400125c4
mov rcx, qword [rsp + 0x230]
call fcn.14006fbd0
test byte [rsp + 0x200], 1
je 0x1400125d2
mov rcx, qword [rsp + 0x210]
call fcn.14006fbd0
test byte [rsp + 0x90], 1
je 0x1400125e0
mov rcx, qword [rsp + 0xa0]
call fcn.14006fbd0
test byte [rsp + 0x1e0], 1
je 0x1400125ee
mov rcx, qword [rsp + 0x1f0]
call fcn.14006fbd0
test byte [rsp + 0x1c0], 1
je 0x1400125fc
mov rcx, qword [rsp + 0x1d0]
call fcn.14006fbd0
test byte [rsp + 0xa8], 1
je 0x14001260a
mov rcx, qword [rsp + 0xb8]
call fcn.14006fbd0
test byte [rsp + 0x1a0], 1
je 0x140012618
mov rcx, qword [rsp + 0x1b0]
call fcn.14006fbd0
test byte [rsp + 0x180], 1
je 0x140012626
mov rcx, qword [rsp + 0x190]
call fcn.14006fbd0
test byte [rsp + 0xc0], 1
je 0x140012634
mov rcx, qword [rsp + 0xd0]
call fcn.14006fbd0
test byte [rsp + 0x160], 1
je 0x140012642
mov rcx, qword [rsp + 0x170]
call fcn.14006fbd0
test byte [rsp + 0x140], 1
je 0x140012650
mov rcx, qword [rsp + 0x150]
call fcn.14006fbd0
test byte [rsp + 0xd8], 1
je 0x14001265e
mov rcx, qword [rsp + 0xe8]
call fcn.14006fbd0
test byte [rsp + 0x120], 1
je 0x14001266c
mov rcx, qword [rsp + 0x130]
call fcn.14006fbd0
test byte [rsp + 0x100], 1
je 0x14001267a
mov rcx, qword [rsp + 0x110]
call fcn.14006fbd0
test byte [rsp + 0x238], 1
jne 0x140012684
jmp 0x140012691
lea rdx, [rsp + 0x32]
shr r8d, 1
add r8d, r8d
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
test byte [rsp + 0x30], 1
je 0x1400128c0
mov rcx, qword [rsp + 0x40]
call fcn.14006fbd0
lea rcx, [0x1402883e8]
call fcn.140070b60
movaps xmm6, xmmword [rsp + 0x250]
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret