Function at 0x180012d10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1fe0]
mov eax, 0x20e0
call fcn.1800623b0
sub rsp, rax
mov rax, qword [0x1800a8088]
xor rax, rsp
mov qword [rbp + 0x1fd0], rax
mov rsi, qword [rbp + 0x2040]
mov r13d, r8d
mov rdi, qword [rsp + 0x40]
mov r8, rcx
mov qword [rsp + 0x50], rcx
mov rax, r9
mov qword [rsp + 0x38], rax
mov r12, rdx
lea ecx, [r13 + 0x9c0]
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x30], ecx
cmp r13d, ecx
jae 0x180012e50
mov r14, qword [rsp + 0x60]
xor ebx, ebx
lea r15d, [rbx + 0x76]
lea rdx, [0x180000000]
mov r11d, 0x63
lea r10d, [r11 + 0xf]
lea r9d, [r11 + 2]
cmp r13d, 0x162
ja 0x180012fcc
je 0x180012e50
cmp r13d, 0xc6
ja 0x180012ec7
je 0x180012e1f
mov eax, r13d
sub eax, 4
je 0x180012e15
sub eax, 0x26
je 0x180012e08
sub eax, 0x47
je 0x180012ded
cmp eax, 0x2f
mov rax, qword [rsp + 0x38]
jne 0x180013149
mov word [rbp - 0x4f], r9w
jmp 0x180013149
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x37]
call fcn.180013450
mov qword [rsp + 0x68], rax
jmp 0x180013140
mov r14, rsi
mov qword [rsp + 0x78], r12
jmp 0x180013144
mov word [rbp - 0x50], r10w
jmp 0x180013144
movsxd rax, dword [rax]
cmp eax, 5
ja case.default.0x180012e35
mov ecx, dword [rdx + rax*4 + 0x13434]
add rcx, rdx
jmp rcx
mov esi, 0x11c
nop dword [rax]
cmp esi, 0x11c
je 0x180012e7d
cmp esi, 0x9d88
jne 0x180012ea4
mov rax, rdi
mov rcx, qword [rbp + 0x1fd0]
xor rcx, rsp
call fcn.1800618d0
mov rbx, qword [rsp + 0x2130]
add rsp, 0x20e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [r14]
call fcn.18006c3d8
cmp dword [r14 + 0x10], ebx
je 0x180012e99
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x180012e99
call fcn.180066798
mov rcx, r14
call fcn.18006c3d8
mov rdi, rbx
add esi, 0x9c6c
cmp esi, 0x138d8
jbe 0x180012e40
mov ecx, dword [rsp + 0x30]
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rdi
jmp 0x180013144
mov eax, r13d
sub eax, 0xd2
je 0x180012fb2
sub eax, 0x3b
je 0x180012f20
cmp eax, 0x2f
jne 0x180013144
mov eax, dword [0x180098434]
lea rdx, [rbp - 0x44]
mov r8d, 0xa
mov dword [rbp - 0x48], eax
movzx eax, word [0x180098438]
mov word [rbp - 0x4e], r11w
mov word [rbp - 0x4d], r15w
lea ecx, [r8 - 8]
mov word [rbp - 0x44], ax
call fcn.180066bd0
mov dword [rbp - 0x42], 0x5f
jmp 0x180013140
mov r15, qword [rsp + 0x68]
mov ecx, dword [rsi]
mov eax, dword [r12]
test ecx, ecx
jg 0x180012f3b
test eax, eax
jle 0x18001313a
test ecx, ecx
jle 0x180012f87
test eax, eax
jle 0x180012f7e
mov rax, qword [r12 + 8]
test rax, rax
je 0x180012f4f
mov rdx, qword [rax + 0x10]
jmp 0x180012f52
mov rdx, rbx
mov rax, qword [rsi + 8]
test rax, rax
je 0x180012f6d
mov rcx, qword [rax + 0x10]
call qword [r8]
test eax, eax
mov rcx, r12
cmovle rcx, rsi
jmp 0x180012f8e
mov rcx, rbx
call qword [r8]
test eax, eax
mov rcx, r12
cmovle rcx, rsi
jmp 0x180012f8e
test ecx, ecx
jle 0x180012f87
mov rcx, rsi
jmp 0x180012f8e
test eax, eax
jle 0x180012f25
mov rcx, r12
mov edx, 0xe7
call fcn.18002d700
mov r8, rax
mov rdx, r15
mov ecx, reloc.OLEAUT32.dll_VarR4FromDec
call fcn.180023990
mov r8, qword [rsp + 0x50]
jmp 0x180012f25
movsxd rcx, dword [r12]
mov rax, qword [rsi + 0x18]
mov rdx, qword [rax + rcx*8]
mov qword [rsp + 0x60], rdx
mov qword [rax + rcx*8], rbx
jmp 0x180013140
cmp r13d, 0x274
ja 0x1800130ad
je 0x180013051
mov eax, r13d
sub eax, 0x16e
je 0x180013429
sub eax, 0x3b
je 0x18001341f
cmp eax, 0x2f
jne 0x180013144
lea r8d, [rax - 0x25]
lea rdx, [rbp - 0x40]
lea ecx, [rax - 0xf]
call fcn.180066b80
movsd xmm0, qword [0x180098440]
lea rdx, [rbp - 0x48]
movzx eax, word [0x180098448]
lea rcx, [rbp - 0x50]
mov r8d, 0x12b
movsd qword [rbp - 0x3c], xmm0
mov word [rbp - 0x34], ax
call fcn.18001c8f0
mov rcx, qword [rsi]
lea rdx, [rbp - 0x30]
xor r9d, r9d
mov r8d, 0x2000
call rax
mov dword [rsp + 0x58], eax
jmp 0x180013140
mov eax, dword [rsp + 0x58]
test eax, eax
jne 0x1800130a6
mov ecx, 0xa4
nop
mov eax, ecx
sub eax, 0xa4
je 0x18001308b
cmp eax, 1
jne 0x180013097
mov ecx, dword [rsp + 0x48]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.OLEAUT32.dll_VarR4FromDec]
mov byte [rsp + 0x40], bl
mov rax, qword [rsp + 0x40]
jmp 0x180012e53
mov dword [rsp + 0x48], 0x186a0
mov dword [rsp + 0x5c], ebx
inc ecx
cmp ecx, 0xa6
jb 0x180013060
jmp 0x180013140
js 0x18001307d
jmp 0x180013144
cmp r13d, 0x310
je 0x1800130da
cmp r13d, 0x3ac
je 0x1800130ce
cmp r13d, 0x448
je 0x180012e50
jmp 0x180013149
mov byte [rsp + 0x40], 1
mov rdi, qword [rsp + 0x40]
jmp 0x180013149
mov rdx, qword [r12 + 0x18]
mov rcx, qword [r12 + 0x10]
mov rax, rdx
movsxd r15, dword [rsp + 0x58]
sub rax, rcx
cmp r15, rax
ja 0x180013123
lea rax, [rcx + r15]
mov qword [r12 + 0x10], rax
mov rax, r12
cmp rdx, 0x10
jb 0x18001310a
mov rax, qword [r12]
lea rsi, [rax + rcx]
mov r8, r15
mov rcx, rsi
lea rdx, [rbp - 0x30]
call fcn.180063330
mov byte [r15 + rsi], bl
jmp 0x18001313a
lea r9, [rbp - 0x30]
mov qword [rsp + 0x20], r15
xor r8d, r8d
mov rdx, r15
mov rcx, r12
call fcn.180057550
mov r15d, 0x76
mov ecx, dword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
add r13d, 0x9c
cmp r13d, ecx
jae 0x180012e50
mov rsi, qword [rsp + 0x70]
mov r8, qword [rsp + 0x50]
jmp 0x180012d8c
mov esi, 0x54
nop dword [rax]
cmp esi, 0x54
je 0x180013190
cmp esi, 0x357c
je 0x18001318b
cmp esi, 0x6aa4
je 0x180012e50
jmp 0x1800131d7
mov rdi, rbx
jmp 0x1800131d7
mov rcx, qword [r14]
test rcx, rcx
je 0x1800131b1
lea rdx, [0x18009844c]
call fcn.180066544
mov qword [r14 + 8], rax
test rax, rax
je 0x180013237
cmp dword [r14 + 0x10], ebx
je 0x1800131cf
mov edx, dword [r14 + 0x58]
xor r8d, r8d
mov rcx, qword [r14 + 8]
call fcn.180067298
test eax, eax
js 0x180013256
mov rax, qword [r14 + 0x60]
mov qword [r14 + 0x68], rax
add esi, 0x3528
cmp esi, 0x9f78
jbe 0x180013170
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov r15d, 0xb6
mov r12, qword [rsp + 0x78]
nop dword [rax]
mov eax, r15d
sub eax, 0xb4
je 0x180012e50
sub eax, 1
je 0x1800132b8
cmp eax, 1
jne 0x1800132bb
mov rcx, qword [r14 + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x180013260
mov rax, qword [r8]
mov esi, ecx
cmp rax, rcx
cmovbe esi, eax
jmp 0x180013268
mov dword [r14 + 0x70], SafeArrayDestroy
call fcn.18006be3c
mov ecx, dword [rax]
mov dword [r14 + 0x74], ecx
mov rax, 0xffffffffffffffff
jmp 0x180012e53
mov dword [r14 + 0x70], 4
jmp 0x18001323f
mov esi, dword [r8]
mov ecx, 0xffffffff
cmp dword [r14 + 0x10], ebx
jne 0x180013288
mov edx, dword [r14 + 0x60]
xor r8d, r8d
add edx, dword [r14 + 0x58]
sub edx, ecx
mov rcx, qword [r14 + 8]
call fcn.180067298
test eax, eax
js 0x180013256
mov r9, qword [r14 + 8]
mov edx, 1
movsxd r8, esi
mov rcx, r12
call fcn.18006cb98
mov rdx, rax
test eax, eax
js 0x1800132d1
mov rcx, qword [r14 + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x1800132bb
cdqe
sub rcx, rax
mov qword [r14 + 0x68], rcx
jmp 0x1800132bb
movsxd rdi, edx
dec r15d
cmp r15d, 0xb3
jbe case.0x180012e35.2
mov r8, qword [rsp + 0x50]
jmp 0x180013200
mov dword [r14 + 0x70], 5
jmp 0x18001323f
cmp qword [r14], rbx
je 0x1800132f0
mov rcx, qword [r14 + 8]
call fcn.180066798
mov qword [r14 + 8], rbx
mov rax, rbx
jmp 0x180012e53
cmp qword [r8], 0x40
jb 0x18001324a
cmp qword [r14 + 0x18], rbx
je 0x18001333d
movups xmm0, xmmword [r14 + 0x18]
mov eax, 0x40
movups xmmword [r12], xmm0
movups xmm1, xmmword [r14 + 0x28]
movups xmmword [r12 + 0x10], xmm1
movups xmm0, xmmword [r14 + 0x38]
movups xmmword [r12 + 0x20], xmm0
movups xmm1, xmmword [r14 + 0x48]
movups xmmword [r12 + 0x30], xmm1
jmp 0x180012e53
mov esi, dword [rsp + 0x48]
mov edi, 0x82
mov rbx, qword [rsp + 0x60]
mov r15d, 0xf000
mov r13d, 0x8000
mov eax, edi
sub eax, 0x82
je 0x1800133c2
sub eax, 1
je 0x1800133ad
sub eax, 1
je 0x18001339f
cmp eax, 1
jne 0x1800133eb
mov rax, qword [r14 + 0x60]
cmp rax, 0xffffffffffffffff
je 0x180013383
or qword [rbx], 4
mov qword [rbx + 0x18], rax
jmp 0x1800133eb
movzx eax, word [rbp - 0x7a]
and ax, r15w
cmp ax, r13w
jne 0x1800133eb
movsxd rax, dword [rbp - 0x6c]
or qword [rbx], 4
mov qword [rbx + 0x18], rax
jmp 0x1800133eb
mov rax, qword [rbp - 0x60]
or qword [rbx], 0x10
mov qword [rbx + 0x28], rax
jmp 0x1800133eb
test esi, esi
jne 0x1800132d1
mov rcx, r12
mov rbx, r12
call fcn.18004e900
jmp 0x1800133eb
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1800133dd
call fcn.18006ba08
lea rdx, [rbp - 0x80]
mov ecx, eax
call fcn.18006b8bc
jmp 0x1800133e9
mov rcx, qword [r14]
lea rdx, [rbp - 0x80]
call fcn.18006b9b0
mov esi, eax
inc edi
cmp edi, 0x86
jb 0x180013357
mov eax, 0x40
jmp 0x180012e53
cmp qword [r8], 8
jb 0x18001324a
mov rax, qword [r14 + 0x70]
mov qword [r12], rax
mov eax, 8
jmp 0x180012e53
mov rax, qword [rsp + 0x68]
jmp 0x180012e53
mov rax, qword [rsp + 0x60]
jmp 0x180012e53