Function at 0x140001037
Capabilities:
Read file on windows

Disassembly:
jmp 0x1400037c0
mov rax, rsp
mov qword [rax + 0x18], r8
mov dword [rax + 8], ecx
push rsi
sub rsp, 0x90
mov qword [rax + 0x10], rbx
mov qword [rax - 0x10], rbp
xor ebp, ebp
mov qword [rax - 0x18], rdi
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
mov r13d, edx
mov edi, ecx
mov esi, ebp
mov dword [rax - 0x44], ebp
mov qword [rax - 0x40], rbp
mov r15d, ebp
mov dword [rax - 0x48], ebp
mov dword [rax + 0x20], ebp
mov rcx, qword [0x14000b020]
lea rbx, [0x14000b020]
cmp rcx, rbx
je 0x140003831
test byte [rcx + 0x1c], 2
je 0x140003831
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x94
call fcn.140001078
lea rdx, [0x140009ae0]
lea rcx, [0x14000b280]
call qword [sym.imp.MSVCR120.dll_fopen]
mov r14, rax
test rax, rax
je 0x140003c18
mov edx, 4
lea rcx, [rsp + 0xb8]
mov r9, rax
lea r8d, [rdx - 3]
call qword [sym.imp.MSVCR120.dll_fread]
mov rdi, rax
mov eax, dword [rsp + 0xb8]
test eax, eax
jne 0x140003957
mov rcx, qword [0x14000b020]
cmp rcx, rbx
je 0x1400038ab
test byte [rcx + 0x1c], 8
je 0x1400038ab
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x95
call fcn.140001078
mov rcx, qword [0x14000b020]
mov edi, dword [rsp + 0xa0]
cmp dword [0x14000b198], 1
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
jne 0x14000390c
mov edx, r13d
mov ecx, edi
call sub.winbio.dll_WinBioUnlockUnit
mov esi, eax
test eax, eax
jns 0x1400038ff
mov rcx, qword [0x14000b020]
cmp rcx, rbx
je 0x140003906
test byte [rcx + 0x1c], 8
je 0x140003906
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x9c
mov r9d, eax
call fcn.140001041
mov rcx, qword [0x14000b020]
mov dword [0x14000b198], ebp
mov r13, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
cmp rcx, rbx
mov rbx, qword [rsp + 0xa8]
je 0x14000394c
test byte [rcx + 0x1c], 2
je 0x14000394c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x9d
mov r9d, esi
call fcn.140001041
mov eax, esi
add rsp, 0x90
pop rsi
ret
mov rcx, rax
mov qword [rsp + 0x78], r12
mov rbx, rax
call qword [sym.imp.MSVCR120.dll_malloc]
mov r8, rbx
xor edx, edx
mov rcx, rax
mov r12, rax
call sub.MSVCR120.dll_memset
mov ebx, dword [rsp + 0xb8]
mov rbp, r12
test rbx, rbx
je 0x1400039ab
test rdi, rdi
je 0x1400039ab
mov r9, r14
mov r8, rbx
mov edx, 1
mov rcx, rbp
call qword [sym.imp.MSVCR120.dll_fread]
add rbp, rax
mov rdi, rax
sub rbx, rax
jne 0x140003987
mov rcx, r14
call qword [sym.imp.MSVCR120.dll_fclose]
mov eax, dword [r12 + 0x24]
test eax, eax
jne 0x140003a1f
mov rcx, qword [0x14000b020]
lea rbx, [0x14000b020]
cmp rcx, rbx
je 0x1400039ee
test byte [rcx + 0x1c], 8
je 0x1400039ee
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x97
xor r9d, r9d
call fcn.140001050
mov edi, dword [rsp + 0xa0]
mov rcx, r12
call qword [sym.imp.MSVCR120.dll_free]
mov r12, qword [rsp + 0x78]
test r15, r15
je 0x140003a11
mov rcx, r15
call qword [sym.imp.MSVCR120.dll_free]
mov rcx, qword [0x14000b020]
xor ebp, ebp
jmp 0x1400038b2
add eax, 0x274
mov ecx, eax
mov ebx, eax
call qword [sym.imp.MSVCR120.dll_malloc]
mov r8d, ebx
xor edx, edx
mov rcx, rax
mov r15, rax
call sub.MSVCR120.dll_memset
mov rax, qword [rsp + 0xb0]
lea rdx, [r12 + 0x28]
lea rcx, [r15 + 0x274]
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r15 + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [r15 + 0x30], xmm1
movsd xmm0, qword [rax + 0x40]
movsd qword [r15 + 0x40], xmm0
mov eax, dword [rax + 0x48]
mov dword [r15 + 0x48], eax
movabs rax, 0x79743164216c6176
mov qword [r15 + 0x4c], rax
movzx eax, word [r12]
mov word [r15 + 0x24c], ax
movzx eax, word [r12 + 2]
mov word [r15 + 0x24e], ax
movups xmm0, xmmword [r12 + 4]
movups xmmword [r15 + 0x250], xmm0
movups xmm1, xmmword [r12 + 0x14]
movups xmmword [r15 + 0x260], xmm1
mov eax, dword [r12 + 0x24]
mov dword [r15 + 0x270], eax
mov r8d, dword [r12 + 0x24]
call sub.MSVCR120.dll_memcpy
mov edi, dword [rsp + 0xa0]
mov edx, r13d
mov ecx, edi
call sub.winbio.dll_WinBioLockUnit
mov esi, eax
test eax, eax
jns 0x140003b36
mov rcx, qword [0x14000b020]
lea rbx, [0x14000b020]
cmp rcx, rbx
je 0x1400039f5
test byte [rcx + 0x1c], 8
je 0x1400039f5
mov edx, 0x98
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov r9d, eax
call fcn.140001041
jmp 0x1400039f5
lea rax, [rsp + 0x50]
mov r9d, 0x442188
mov r8d, 2
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x58]
mov edx, r13d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 4
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov ecx, edi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r15
call sub.winbio.dll_WinBioControlUnit
mov esi, eax
test eax, eax
je 0x140003bf0
cmp eax, 0xffff900b
je 0x140003bb5
mov rcx, qword [0x14000b020]
lea rbx, [0x14000b020]
cmp rcx, rbx
je 0x1400039f5
test byte [rcx + 0x1c], 8
je 0x1400039f5
mov edx, 0x99
jmp 0x140003b1e
mov rcx, qword [0x14000b020]
lea rbx, [0x14000b020]
cmp rcx, rbx
je 0x1400039f5
test byte [rcx + 0x1c], 8
je 0x1400039f5
mov edx, 0x9a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
call fcn.140001078
jmp 0x1400039f5
mov rcx, qword [0x14000b020]
lea rbx, [0x14000b020]
cmp rcx, rbx
je 0x1400039f5
test byte [rcx + 0x1c], 2
je 0x1400039f5
mov edx, 0x9b
jmp 0x140003bdb
mov rcx, qword [0x14000b020]
cmp rcx, rbx
je 0x1400038b2
test byte [rcx + 0x1c], 8
je 0x1400038b2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009960]
mov edx, 0x96
call fcn.140001078
mov rcx, qword [0x14000b020]
jmp 0x1400038b2