Function at 0x140002190
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r15, rdx
mov rax, qword [0x1400231d8]
xor rax, rsp
cmp ecx, 3
mov ebp, 0xb2b4e802
mov edx, 0x84d05acd
cmovge edx, ebp
mov dword [rsp + 0x5c], edx
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x2c], ecx
cmp ecx, 2
mov eax, 0x38e4d38
mov ecx, 0x9fa93c75
cmovge ecx, eax
mov dword [rsp + 0x58], ecx
mov eax, 0xd0af19cf
xor ecx, ecx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x48], rcx
jmp 0x140002210
add edi, 1
mov eax, 0x2e2c4d80
nop dword [rax]
cmp eax, 0x38e4d37
jg 0x140002250
cmp eax, 0xdebdd5f0
jg 0x1400022b0
cmp eax, 0xaf105239
jle 0x140002341
cmp eax, 0xaf10523a
je 0x1400025a8
cmp eax, 0xb2b4e802
je 0x1400025b2
cmp eax, 0xd0af19cf
jne 0x140002210
mov eax, dword [rsp + 0x58]
jmp 0x140002210
cmp eax, 0x3d0d80ae
jle 0x140002300
cmp eax, 0x600345d8
jg 0x14000237a
cmp eax, 0x3d0d80af
je 0x1400025d3
cmp eax, 0x4bcccde8
je 0x1400025f1
cmp eax, 0x5a343b04
jne 0x140002210
mov rcx, qword [rsp + 0x60]
lea rdx, [0x1400231aa]
call fcn.140007bd8
mov rbp, rax
test rax, rax
mov eax, 0x647a9ba5
mov ecx, 0x60aa10d2
cmove eax, ecx
jmp 0x140002210
cmp eax, 0xf7632fa3
jg 0x14000253a
cmp eax, 0xdebdd5f1
je 0x140002605
cmp eax, 0xe0375ab1
je 0x140002620
cmp eax, 0xe1d8751b
jne 0x140002210
mov dword [rsp + 0x7c], 0
lea eax, [r12 - 1]
cmp edi, eax
mov eax, 0xe0375ab1
mov ecx, 0xfda17ab7
cmove eax, ecx
jmp 0x140002210
cmp eax, 0x20df5200
jle 0x140002588
cmp eax, 0x20df5201
je 0x14000266d
cmp eax, 0x23ab92cd
je 0x140002201
cmp eax, 0x2e2c4d80
jne 0x140002210
cmp edi, r12d
mov eax, 0xaf10523a
mov ecx, 0xe1d8751b
cmovl eax, ecx
jmp 0x140002210
cmp eax, 0x84d05acd
je 0x140002687
cmp eax, 0x9fa93c75
jne 0x140002724
xor ecx, ecx
xor edx, edx
call fcn.140006c5c
mov qword [rsp + 0x60], rax
test rax, rax
mov eax, 0xdebdd5f1
mov ecx, 0xf7632fa4
cmove eax, ecx
jmp 0x140002210
cmp eax, 0x600345d9
je 0x140002691
cmp eax, 0x647a9ba5
jne 0x140002731
xor eax, eax
mov qword [rsp + 0x48], rax
mov rcx, rbp
xor edx, edx
mov r8d, 2
call fcn.140007fdc
mov rcx, rbp
call fcn.1400081ec
mov qword [rsp + 0x30], rax
mov rcx, rbp
xor edx, edx
xor r8d, r8d
call fcn.140007fdc
mov ecx, 1
mov edx, 0x11
call fcn.140007ae8
mov rsi, rax
mov ecx, 1
mov edx, 9
call fcn.140007ae8
mov rbx, rax
mov ecx, 1
mov edx, 9
call fcn.140007ae8
mov r12, rax
mov ecx, 1
mov edx, 9
call fcn.140007ae8
mov r14, rax
mov edx, 1
mov r8d, 0x10
mov qword [rsp + 0x68], rsi
mov rcx, rsi
mov r9, rbp
call fcn.140007d48
mov rcx, rbp
mov edx, 0x10
xor r8d, r8d
call fcn.140007fdc
mov edx, 1
mov r8d, 8
mov rcx, rbx
mov r9, rbp
call fcn.140007d48
mov rcx, rbp
mov edx, 0x18
xor r8d, r8d
call fcn.140007fdc
mov edx, 1
mov r8d, 8
mov rcx, r12
mov r9, rbp
call fcn.140007d48
mov rcx, rbp
mov edx, 0x20
xor r8d, r8d
call fcn.140007fdc
mov edx, 1
mov r8d, 8
mov rcx, r14
mov r9, rbp
call fcn.140007d48
mov rcx, rbx
xor edx, edx
mov r8d, 0x10
call fcn.140008b20
mov rsi, rbp
mov r13, r15
mov r15d, eax
mov rcx, r12
xor edx, edx
mov r8d, 0x10
call fcn.140008b20
mov edi, eax
mov rcx, r14
xor edx, edx
mov r8d, 0x10
call fcn.140008b20
mov ebp, eax
mov rcx, rbx
call fcn.140007fc8
mov rcx, r12
call fcn.140007fc8
mov rcx, r14
call fcn.140007fc8
mov eax, r15d
xor edx, edx
div edi
mov r12d, eax
mov eax, 1
sub eax, r12d
mov qword [rsp + 0x40], rbp
imul eax, ebp
mov rcx, qword [rsp + 0x30]
add eax, ecx
add eax, 0xffffffd8
mov qword [rsp + 0x30], rax
add r15d, 1
mov ecx, 1
mov rdx, r15
mov r15, r13
mov rbp, rsi
call fcn.140007ae8
mov r13, rax
mov eax, 0x2e2c4d80
xor edi, edi
jmp 0x140002210
cmp eax, 0xf7af1b59
je 0x1400026d2
cmp eax, 0xfda17ab7
jne 0x14000273e
mov rbx, qword [rsp + 0x30]
lea eax, [rbx + 1]
movsxd rdx, eax
mov ecx, 1
call fcn.140007ae8
mov rsi, rax
mov byte [rax], 0
mov edx, edi
imul edx, dword [rsp + 0x40]
add edx, 0x28
mov rcx, rbp
xor r8d, r8d
call fcn.140007fdc
movsxd r8, ebx
jmp 0x14000264e
cmp eax, 0x38e4d38
je 0x140002700
cmp eax, 0x1aa7d972
jne 0x140002210
mov eax, 0x9fa93c75
jmp 0x140002210
mov eax, 0x805d4875
jmp 0x140002210
mov ecx, dword [rsp + 0x2c]
mov rdx, r15
mov r8d, 1
call fcn.140001ff0
mov qword [rsp + 0x38], rax
mov eax, 0x84d05acd
jmp 0x140002210
mov ecx, dword [rsp + 0x2c]
mov rdx, r15
xor r8d, r8d
call fcn.140001ff0
mov qword [rsp + 0x38], rax
mov eax, 0x1aa7d972
jmp 0x140002210
mov rcx, qword [rsp + 0x50]
call fcn.140007fc8
mov eax, 0x23ab92cd
jmp 0x140002210
mov rcx, qword [rsp + 0x60]
lea rdx, [0x1400231a1]
call fcn.140008810
mov eax, 0x5a343b04
jmp 0x140002210
mov rbx, qword [rsp + 0x40]
lea edx, [rbx + 1]
mov ecx, 1
call fcn.140007ae8
mov rsi, rax
mov byte [rax], 0
mov edx, edi
imul edx, ebx
add edx, 0x28
mov rcx, rbp
xor r8d, r8d
call fcn.140007fdc
mov r8d, ebx
mov edx, 1
mov qword [rsp + 0x50], rsi
mov rcx, rsi
mov r9, rbp
call fcn.140007d48
mov eax, 0xf7af1b59
jmp 0x140002210
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [rsp + 0x5c]
jmp 0x140002210
mov eax, 0x1aa7d972
jmp 0x140002210
mov r14, qword [rsp + 0x48]
movsxd r14, r14d
lea rcx, [r14 + r13]
movsxd rsi, dword [rsp + 0x7c]
mov rbx, r13
mov r13, qword [rsp + 0x70]
mov rdx, r13
mov r8, rsi
call fcn.140003960
add r14d, esi
mov qword [rsp + 0x48], r14
mov rcx, r13
mov r13, rbx
call fcn.140007fc8
mov eax, 0x4bcccde8
jmp 0x140002210
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x7c]
call fcn.140001a10
mov qword [rsp + 0x70], rax
test rax, rax
mov eax, 0x600345d9
mov ecx, 0x4bcccde8
cmove eax, ecx
jmp 0x140002210
mov rcx, qword [r15 + 8]
lea rdx, [0x140023190]
call fcn.140008980
test eax, eax
mov eax, 0x3d0d80af
mov ecx, 0x20df5201
cmove eax, ecx
jmp 0x140002210
cmp eax, 0x805d4875
jne 0x140002210
jmp 0x14000275f
cmp eax, 0x60aa10d2
jne 0x140002210
jmp 0x1400027a2
cmp eax, 0xf7632fa4
jne 0x140002210
lea rcx, [0x140023194]
call fcn.1400086f0
mov ecx, 0xffffffff
call fcn.140005d28
mov rcx, rbp
call fcn.140007af0
mov rcx, r13
mov rdx, qword [rsp + 0x38]
call fcn.140001b00
mov rcx, r13
call fcn.140007fc8
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140002960
xor eax, eax
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x1400231b0]
call fcn.1400086f0
mov ecx, 1
call fcn.140005d28
int3