Function at 0x1400ee5a0
Capabilities:
Read file via mapping

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4e8
lea rbp, [rsp + 0x80]
mov r12, rcx
movabs rsi, 0x8000000000000000
lea rcx, [rbp - 0x40]
call fcn.14010b4e0
mov r15, qword [rbp - 0x40]
mov r13, qword [rbp - 0x38]
cmp r15, rsi
jne 0x1400ee619
mov edi, 1
mov qword [rbp + 0x3c0], rdi
lea rcx, [rbp + 0x3c8]
mov qword [rbp + 0x3c8], r13
call fcn.1400e7e10
mov qword [r12], 0
add rsp, 0x4e8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0x450], r15
mov qword [rbp + 0x458], r13
mov qword [rbp + 0x460], rax
cmp rax, 3
jbe 0x1400ee678
movabs rcx, 0x5c003f003f005c
lea rdx, [rcx + 0x1d0000]
cmp rdx, qword [r13]
je 0x1400eeaca
cmp rcx, qword [r13]
je 0x1400eeaca
cmp rax, 0xf8
jae 0x1400ee6f1
cmp word [r13 + 2], 0x3a
jne 0x1400ee6c7
movzx eax, word [r13 + 4]
jmp 0x1400ee6a3
je 0x1400ee68d
cmp rax, 1
jne 0x1400ee6c5
cmp word [r13], 0
jne 0x1400ee6f1
jmp 0x1400eeaca
cmp word [r13 + 2], 0x3a
jne 0x1400ee6c7
movzx eax, word [r13 + 4]
test ax, ax
je 0x1400eed1a
cmp ax, 0x2f
je 0x1400ee6b1
movzx eax, ax
cmp eax, 0x5c
jne 0x1400ee6c7
movzx eax, word [r13]
cmp eax, 0x2f
je 0x1400ee6cc
cmp eax, 0x5c
je 0x1400ee6cc
jmp 0x1400eeaca
jbe 0x1400ee6f1
movzx eax, word [r13]
cmp ax, 0x5c
je 0x1400ee6da
movzx eax, ax
cmp eax, 0x2f
jne 0x1400ee6f1
movzx eax, word [r13 + 2]
cmp eax, 0x2f
je 0x1400eeaca
cmp eax, 0x5c
je 0x1400eeaca
mov qword [rbp + 0x420], r13
mov qword [rbp + 0x430], r12
mov qword [rbp + 0x438], 0
mov qword [rbp + 0x440], 2
mov qword [rbp + 0x448], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x428], rax
xor edi, edi
xor r14d, r14d
xor r13d, r13d
cmp r8, 0x201
jae 0x1400ee770
jmp 0x1400ee75f
jae 0x1400ee836
cmp r8, 0x201
jae 0x1400ee770
mov esi, 0x200
lea rbx, [rbp - 0x40]
mov r12, r8
jmp 0x1400ee7c8
sub r8, r13
sub r14, r13
cmp r8, r14
jbe 0x1400ee79f
lea rcx, [rbp + 0x438]
mov rdx, r13
call fcn.1400edc90
mov rdi, qword [rbp + 0x438]
mov rax, qword [rbp + 0x440]
mov qword [rbp + 0x428], rax
mov eax, 0xffffffff
cmp rdi, rax
mov r13d, 0xffffffff
cmovb r13, rdi
mov qword [rbp + 0x448], r13
mov r14, rdi
mov rsi, r13
mov rbx, qword [rbp + 0x428]
mov r12, r13
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov rcx, qword [rbp + 0x420]
mov edx, r12d
mov r8, rbx
xor r9d, r9d
call sub.kernel32.dll_GetFullPathNameW
mov r15d, eax
test eax, eax
jne 0x1400ee7f8
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x1400ee884
mov r8d, r15d
cmp r12, r8
jne 0x1400ee750
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x1400eed46
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1400ee75f
jmp 0x1400ee770
cmp rsi, r8
jb 0x1400eed60
mov qword [rbp + 0x460], 0
cmp r15d, 2
mov r12, qword [rbp + 0x430]
mov rcx, qword [rbp + 0x420]
jbe 0x1400ee8e2
movzx eax, word [rbx + 2]
cmp eax, 0x3a
jne 0x1400ee8e9
cmp word [rbx + 4], 0x5c
jne 0x1400ee8e9
lea r15, str._y
mov r14d, 4
jmp 0x1400ee922
call sub.kernel32.dll_GetLastError
mov r13d, eax
cmp qword [rbp + 0x438], 0
je 0x1400ee8ab
mov r8, qword [rbp + 0x440]
mov rcx, qword [0x1401ba0e0]
xor edx, edx
call fcn.1401336c4
shl r13, 0x20
or r13, 2
cmp qword [rbp + 0x450], 0
mov r12, qword [rbp + 0x430]
je 0x1400ee5de
mov r8, qword [rbp + 0x458]
mov rcx, qword [0x1401ba0e0]
xor edx, edx
call fcn.1401336c4
jmp 0x1400ee5de
jne 0x1400ee919
movzx edx, word [rbx]
jmp 0x1400ee8f2
movzx edx, word [rbx]
cmp r15d, 3
jne 0x1400ee964
cmp dx, 0x5c
jne 0x1400ee919
movzx eax, word [rbx + 2]
cmp ax, 0x5c
jne 0x1400ee919
add r8, 0xfffffffffffffffe
add rbx, 4
lea r15, [0x14016f980]
mov r14d, 8
jmp 0x1400ee922
mov r15d, 2
xor r14d, r14d
lea rsi, [r8 + r14]
inc rsi
mov rdx, qword [rbp + 0x450]
cmp rdx, rsi
jae 0x1400ee959
lea rax, [rsi + rsi]
mov rdi, r8
test rdx, rdx
je 0x1400ee9a8
add rdx, rdx
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3e0], rdx
mov ecx, 2
jmp 0x1400ee9aa
mov rdi, r8
mov rsi, rdx
jmp 0x1400ee9ef
mov r15d, 2
cmp dx, 0x5c
jne 0x1400ee91f
cmp eax, 0x3f
je 0x1400ee91f
cmp eax, 0x5c
jne 0x1400ee8fc
movzx eax, word [rbx + 4]
cmp eax, 0x3f
je 0x1400eed36
cmp eax, 0x2e
jne 0x1400ee902
cmp word [rbx + 6], 0x5c
jne 0x1400ee902
add r8, 0xfffffffffffffffc
add rbx, 8
jmp 0x1400ee872
xor ecx, ecx
mov qword [rbp + 0x3d8], rcx
lea rcx, [rbp + 0x408]
lea r9, [rbp + 0x3d0]
mov edx, 2
mov r8, rax
call fcn.14001e310
cmp qword [rbp + 0x408], 0
jne 0x1400eed77
mov rcx, qword [rbp + 0x410]
mov qword [rbp + 0x458], rcx
mov qword [rbp + 0x450], rsi
lea r8d, [r14 + r14]
mov rdx, r15
call sub.msvcrt.dll_memcpy
mov qword [rbp + 0x460], r14
mov rax, rsi
sub rax, r14
cmp rax, rdi
jae 0x1400eea33
lea rcx, [rbp + 0x450]
mov rdx, r14
mov r15, rdi
mov r8, rdi
call fcn.1400edc90
mov rsi, qword [rbp + 0x450]
mov r14, qword [rbp + 0x460]
mov rdi, r15
lea r8, [rdi + rdi]
mov r13, qword [rbp + 0x458]
lea rcx, [r14*2]
add rcx, r13
mov rdx, rbx
call sub.msvcrt.dll_memcpy
add r14, rdi
mov qword [rbp + 0x460], r14
cmp r14, rsi
jne 0x1400eea73
lea rcx, [rbp + 0x450]
call fcn.14010b7b0
mov r13, qword [rbp + 0x458]
mov word [r13 + r14*2], 0
inc r14
mov qword [rbp + 0x460], r14
cmp qword [rbp + 0x438], 0
movabs rsi, 0x8000000000000000
je 0x1400eeab5
mov r8, qword [rbp + 0x440]
mov rcx, qword [0x1401ba0e0]
xor edx, edx
call fcn.1401336c4
mov r13, qword [rbp + 0x458]
mov r15, qword [rbp + 0x450]
mov edi, 1
cmp r15, rsi
je 0x1400ee5e3
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor edi, edi
mov rcx, r13
mov edx, 0x80000000
mov r8d, 7
xor r9d, r9d
call sub.kernel32.dll_CreateFileW
mov rsi, rax
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400eeb1b
call sub.kernel32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov edi, 1
test r15, r15
je 0x1400eeb31
mov rcx, qword [0x1401ba0e0]
xor edx, edx
mov r8, r13
call fcn.1401336c4
cmp rsi, 0xffffffffffffffff
je 0x1400eec0e
xorps xmm0, xmm0
movaps xmmword [rbp + 0x3f0], xmm0
movaps xmmword [rbp + 0x3e0], xmm0
movaps xmmword [rbp + 0x3d0], xmm0
mov dword [rbp + 0x400], 0
lea rdx, [rbp + 0x3d0]
mov rcx, rbx
call sub.kernel32.dll_GetFileInformationByHandle
test eax, eax
je 0x1400eec16
test dword [rbp + 0x3d0], 0x400
je 0x1400eeba9
mov qword [rbp + 0x408], 0
lea r8, [rbp + 0x408]
mov rcx, rbx
mov edx, 9
mov r9d, 8
call sub.kernel32.dll_GetFileInformationByHandleEx
test eax, eax
je 0x1400eec16
mov r15d, dword [rbp + 0x3f0]
mov r14d, dword [rbp + 0x3f4]
test rbx, rbx
je 0x1400eec5b
mov qword [rbp + 0x3d0], 0
call sub.kernel32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbp + 0x3d0]
mov rcx, rax
mov rdx, rbx
mov r8, rax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
je 0x1400eece3
mov rsi, qword [rbp + 0x3d0]
jmp 0x1400eec5d
mov r13, rbx
jmp 0x1400ee5e3
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 2
call fcn.1400e7e10
mov qword [r12], 0
mov rcx, rbx
add rsp, 0x4e8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp sub.kernel32.dll_CloseHandle
xor esi, esi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rsi
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.kernel32.dll_CreateFileMappingA
test rax, rax
je 0x1400eecd1
mov rdi, rax
shl r15, 0x20
or r15, r14
mov qword [rsp + 0x20], r15
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_MapViewOfFile
mov r14, rax
mov rcx, rdi
call sub.kernel32.dll_CloseHandle
test r14, r14
je 0x1400eecd1
mov qword [r12 + 8], rsi
mov qword [r12 + 0x10], r14
mov qword [r12 + 0x18], r15
mov qword [r12], 1
jmp 0x1400eed0d
mov qword [r12], 0
mov rcx, rsi
call sub.kernel32.dll_CloseHandle
jmp 0x1400eed0d
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x40], 1
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x38], rax
call fcn.1400e7e10
mov qword [r12], 0
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
jmp 0x1400ee605
movzx eax, word [r13]
cmp eax, 0x2f
je 0x1400ee6c7
cmp eax, 0x5c
je 0x1400ee6c7
jmp 0x1400eeaca
cmp word [rbx + 6], 0x5c
jne 0x1400ee902
jmp 0x1400ee91f
lea rcx, str.aL4ZxuiD2joHfeTkYfCMSoFM1dyjFNITCe4ZtDkiAVn3IADE8oBfIxNF7ajquCTO4hetpqP9fFCyxw62wFsem9KzZpcea2X9blj9yrF8Jm3sjdJrLliji
lea r8, str.sjafQywmfl65i0nDCzjW3VwTNeQiJpVSzBihhK7BHv0UQAYvplPXE016G2OeEwjl2zVOgdnsTYEkEWO7MP
mov edx, 0x28
call fcn.140018100
jmp 0x1400eed8a
lea rax, str.sjafQywmfl65i0nDCzjW3VwTNeQiJpVSzBihhK7BHv0UQAYvplPXE016G2OeEwjl2zVOgdnsTYEkEWO7MP
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140017e20
jmp 0x1400eed8a
mov rcx, qword [rbp + 0x410]
mov rdx, qword [rbp + 0x418]
call fcn.140012d00
ud2