Function at 0x140001069
Capabilities:
Write file on windows

Disassembly:
jmp 0x140002b70
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x1f8]
sub rsp, 0x2e8
mov rax, qword [0x14000b030]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov r14d, ecx
mov qword [r11 - 0x38], r15
mov rbx, r8
mov r15d, edx
xor r13d, r13d
lea rcx, [rsp + 0x64]
xor edx, edx
mov r8d, 0x248
mov dword [rsp + 0x60], r13d
call sub.MSVCR120.dll_memset
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x54], r13d
mov dword [rsp + 0x50], r13d
mov rcx, qword [0x14000b020]
lea r12, [0x14000b020]
cmp rcx, r12
je 0x140002c04
test byte [rcx + 0x1c], 2
je 0x140002c04
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x8a
call fcn.140001078
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
mov eax, dword [rbx + 0x48]
mov dword [rbp - 0x58], eax
movabs rax, 0x79743164216c6176
mov edx, r15d
mov ecx, r14d
mov qword [rsp + 0x318], rsi
mov qword [rsp + 0x2e0], rdi
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmm1, xmmword [rbx + 0x30]
mov qword [rbp - 0x54], rax
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm1
movsd xmm0, qword [rbx + 0x40]
movsd qword [rbp - 0x60], xmm0
call sub.winbio.dll_WinBioLockUnit
mov ebx, eax
test eax, eax
jns 0x140002c9b
mov rcx, qword [0x14000b020]
cmp rcx, r12
je 0x140002f34
test byte [rcx + 0x1c], 8
je 0x140002f34
mov edx, 0x8b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov r9d, eax
call fcn.140001041
jmp 0x140002f2d
lea rax, [rsp + 0x54]
mov r9d, 0x442184
mov r8d, 2
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x58]
mov edx, r15d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov ecx, r14d
mov qword [rsp + 0x28], 0x24c
mov dword [0x14000b198], 1
mov qword [rsp + 0x20], rax
call sub.winbio.dll_WinBioControlUnit
mov ebx, eax
test eax, eax
je 0x140002d20
mov rcx, qword [0x14000b020]
cmp rcx, r12
je 0x140002f34
test byte [rcx + 0x1c], 8
je 0x140002f34
mov edx, 0x8c
jmp 0x140002c83
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140002f2d
mov ecx, eax
mov edi, eax
call qword [sym.imp.MSVCR120.dll_malloc]
mov rsi, rax
test rax, rax
jne 0x140002d72
mov rcx, qword [0x14000b020]
cmp rcx, r12
je 0x140002f34
test byte [rcx + 0x1c], 8
je 0x140002f34
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x8d
call fcn.140001078
jmp 0x140002f2d
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.MSVCR120.dll_memset
cmp dword [0x14000b198], 1
jne 0x140002dc8
mov edx, r15d
mov ecx, r14d
call sub.winbio.dll_WinBioUnlockUnit
test eax, eax
jns 0x140002dc1
mov rcx, qword [0x14000b020]
cmp rcx, r12
je 0x140002dc1
test byte [rcx + 0x1c], 8
je 0x140002dc1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x8e
mov r9d, eax
call fcn.140001041
mov dword [0x14000b198], r13d
mov edx, r15d
mov ecx, r14d
call sub.winbio.dll_WinBioLockUnit
mov ebx, eax
test eax, eax
jns 0x140002e10
mov rcx, qword [0x14000b020]
cmp rcx, r12
je 0x140002f24
test byte [rcx + 0x1c], 8
je 0x140002f24
mov edx, 0x8f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov r9d, eax
call fcn.140001041
jmp 0x140002f24
mov eax, dword [rsp + 0x50]
lea rcx, [rsp + 0x54]
mov r9d, 0x442184
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x58]
mov r8d, 2
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rsi
mov edx, r15d
mov ecx, r14d
mov qword [rsp + 0x28], 0x24c
mov qword [rsp + 0x20], rax
mov dword [0x14000b198], 1
call sub.winbio.dll_WinBioControlUnit
mov ebx, eax
test eax, eax
je 0x140002e90
mov rcx, qword [0x14000b020]
cmp rcx, r12
je 0x140002f24
test byte [rcx + 0x1c], 8
je 0x140002f24
mov edx, 0x90
jmp 0x140002df8
lea rdx, [0x140009adc]
lea rcx, [0x14000b280]
call qword [sym.imp.MSVCR120.dll_fopen]
mov rdi, rax
test rax, rax
je 0x140002eed
mov edx, 4
lea rcx, [rsp + 0x50]
mov r9, rax
lea r8d, [rdx - 3]
call qword [sym.imp.MSVCR120.dll_fwrite]
mov r8d, dword [rsp + 0x50]
mov r9, rdi
mov edx, 1
mov rcx, rsi
call qword [sym.imp.MSVCR120.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.MSVCR120.dll_fflush]
mov rcx, rdi
call qword [sym.imp.MSVCR120.dll_fclose]
jmp 0x140002f24
mov rax, qword [0x14000b020]
cmp rax, r12
je 0x140002f24
test byte [rax + 0x1c], 8
je 0x140002f24
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x14000b020]
lea r8, [0x140009960]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0x91
call fcn.140001050
mov rcx, rsi
call qword [sym.imp.MSVCR120.dll_free]
mov rcx, qword [0x14000b020]
cmp dword [0x14000b198], 1
mov rdi, qword [rsp + 0x2e0]
mov rsi, qword [rsp + 0x318]
jne 0x140002f96
mov edx, r15d
mov ecx, r14d
call sub.winbio.dll_WinBioUnlockUnit
mov ebx, eax
test eax, eax
jns 0x140002f88
mov rcx, qword [0x14000b020]
cmp rcx, r12
je 0x140002f8f
test byte [rcx + 0x1c], 8
je 0x140002f8f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x92
mov r9d, eax
call fcn.140001041
mov rcx, qword [0x14000b020]
mov dword [0x14000b198], r13d
mov r15, qword [rsp + 0x2c0]
mov r14, qword [rsp + 0x2c8]
mov r13, qword [rsp + 0x2d0]
cmp rcx, r12
mov r12, qword [rsp + 0x2d8]
je 0x140002fd9
test byte [rcx + 0x1c], 2
je 0x140002fd9
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x93
mov r9d, ebx
call fcn.140001041
mov eax, ebx
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140005ed0
add rsp, 0x2e8
pop rbx
pop rbp
ret