Function at 0x18000e9f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov esi, dword [rsp + 0xc0]
mov r14, r8
xor r8d, r8d
mov r10, rdx
mov r15, r9
mov rbp, rcx
mov ebx, r8d
mov edi, r8d
lea edx, [rsi - 0x10]
mov dword [rsp + 0x20], edx
cmp esi, edx
jbe 0x18000ef15
movzx edx, byte [rsp + 0xc0]
lea r12d, [rsi - 0x70]
movzx r13d, byte [rsp + 0x24]
lea r9, [0x180000000]
mov eax, dword [rsp + 0x20]
mov r11d, 0x100
mov dword [rsp + 0x34], r12d
mov dword [rsp + 0x28], edx
cmp r12d, 0x35
ja case.default.0x18000ea83
movzx eax, byte [r9 + r12 + 0xef78]
mov ecx, dword [r9 + rax*4 + 0xef34]
add rcx, r9
jmp rcx
mov byte [r10 + 0x101], 0
jmp case.0x18000ea83.16
mov rdx, qword [r10]
mov rcx, r14
call fcn.180063730
mov r10, qword [rsp + 0xa8]
mov edx, dword [rsp + 0x28]
lea r9, [0x180000000]
mov r11d, 0x100
xor r8d, r8d
jmp case.0x18000ea83.16
mov eax, 0x65
cmp eax, 0x65
je 0x18000ee7a
add eax, 0x33
cmp eax, 0x98
jb 0x18000eac3
xor dl, dl
mov dword [rsp + 0x28], edx
mov byte [rsp + 0x27], dl
jmp case.0x18000ea83.16
cmp qword [r15 + 0x18], 0x10
mov rbx, r15
mov byte [rsp + 0x25], 1
jb case.0x18000ea83.16
mov rbx, qword [r15]
jmp case.0x18000ea83.16
mov r9, qword [r15 + 0x70]
mov rax, qword [r9 + 0x40]
test rax, rax
je 0x18000eb21
mov r8d, 1
lea rdx, [rsp + 0x26]
mov rcx, r15
call rax
cdqe
jmp 0x18000eb37
mov r9, qword [r9 + 0x38]
lea rcx, [rsp + 0x26]
mov edx, 1
mov r8d, edx
call fcn.180079e64
cmp rax, 1
je 0x18000eb6e
mov ecx, 0xba
xor edx, edx
mov eax, ecx
sub eax, 0xba
je 0x18000eb58
cmp eax, 1
je 0x18000ef15
jmp 0x18000eb64
mov dword [r15 + 0x60], 0x66
mov dword [rsp + 0x30], edx
inc ecx
cmp ecx, 0xbc
jb 0x18000eb44
movzx eax, byte [rsp + 0x26]
mov dword [rbp], eax
jmp 0x18000ea9d
mov byte [r10 + 0x100], 0
jmp case.0x18000ea83.16
mov rcx, qword [rsp + 0x48]
movzx eax, r8w
mov byte [rcx], al
lea rcx, [rcx + 1]
inc ax
cmp ax, r11w
jb 0x18000eb91
jmp case.0x18000ea83.16
mov rax, qword [r15 + 0x70]
test byte [rax], 8
jne case.0x18000ea83.16
mov ecx, 0xc4
nop word [rax + rax]
mov eax, ecx
sub eax, 0xc3
je 0x18000ef15
cmp eax, 1
jne 0x18000ebdf
mov dword [r15 + 0x60], 0x6f
mov dword [rsp + 0x30], r8d
dec ecx
cmp ecx, 0xc2
ja 0x18000ebc0
jmp case.0x18000ea83.16
call sub.IMM32.dll_ImmCreateContext
mov qword [rsp + 0x38], rax
jmp 0x18000ea9d
cmp qword [rbp + 0x18], 0x10
mov rdi, rbp
jb 0x18000ec0b
mov rdi, qword [rbp]
movzx eax, byte [rsp + 0x25]
mov ecx, r8d
cmp qword [rsp + 0x38], 0
cmovne ecx, eax
mov byte [rsp + 0x25], cl
jmp case.0x18000ea83.16
movzx r14d, byte [rsp + 0x27]
movzx r9d, r8w
movzx r13d, byte [rsp + 0x2c]
nop word [rax + rax]
mov r8d, 0x9c
mov eax, r8d
sub eax, 0x9c
je 0x18000ec8d
sub eax, 1
je 0x18000ec6d
cmp eax, 1
jne 0x18000eca9
movzx eax, dl
inc eax
cdq
idiv dword [rbp]
inc r9w
mov dword [rsp + 0x28], edx
jmp 0x18000eca9
mov r10, qword [rsp + 0x48]
movzx edx, r14b
movzx ecx, r9w
movzx eax, byte [rdx + r10]
mov byte [rcx + r10], al
mov byte [rdx + r10], r13b
mov edx, dword [rsp + 0x28]
jmp 0x18000eca9
mov rcx, qword [rsp + 0x48]
movzx eax, r9w
movzx r13d, byte [rax + rcx]
movzx eax, dl
movzx ecx, byte [rax + r15]
add cl, r13b
add r14b, cl
inc r8d
cmp r8d, 0x9f
jb 0x18000ec46
mov byte [rsp + 0x2c], r13b
mov byte [rsp + 0x27], r14b
cmp r9w, r11w
jb 0x18000ec40
mov r14, qword [rsp + 0xb0]
lea r9, [0x180000000]
movzx r13d, byte [rsp + 0x24]
xor r8d, r8d
mov r10, qword [rsp + 0xa8]
jmp case.0x18000ea83.16
cmp qword [r10], 0
mov qword [rsp + 0x50], r8
jbe 0x18000ee53
nop dword [rax]
mov r12d, dword [rsp + 0x40]
mov esi, 0x48
nop word [rax + rax]
mov eax, esi
sub eax, 0x48
je 0x18000edd9
sub eax, 1
je 0x18000ed7d
cmp eax, 1
jne 0x18000edea
mov rdx, qword [rbp + 0x18]
mov rcx, rbp
cmp rdx, 0x10
jb 0x18000ed3a
mov rcx, qword [rbp]
add rcx, qword [rbp + 0x10]
inc rdi
cmp rdi, rcx
jne 0x18000ed53
mov rdi, rbp
cmp rdx, 0x10
jb 0x18000ed53
mov rdi, qword [rbp]
mov rdx, qword [r15 + 0x18]
mov rcx, r15
cmp rdx, 0x10
jb 0x18000ed63
mov rcx, qword [r15]
add rcx, qword [r15 + 0x10]
inc rbx
cmp rbx, rcx
jne 0x18000edea
mov rbx, r15
cmp rdx, 0x10
jb 0x18000edea
mov rbx, qword [r15]
jmp 0x18000edea
mov rcx, qword [r14 + 0x10]
movzx r9d, r12b
mov rdx, qword [r14 + 0x18]
and r9b, 0xf
cmp rcx, rdx
jae 0x18000edb1
lea rax, [rcx + 1]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0x10
jb 0x18000eda6
mov rax, qword [r14]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18000edc0
xor r8d, r8d
mov rcx, r14
lea edx, [r8 + 1]
call fcn.1800030a0
cmp qword [r14 + 0x18], 0x10
mov rcx, r14
jb 0x18000edcd
mov rcx, qword [r14]
mov rax, qword [r14 + 0x10]
movzx r13d, byte [rax + rcx - 1]
jmp 0x18000edea
movsx eax, byte [rbx]
movsx r12d, byte [rdi]
add r12d, eax
movzx eax, r13b
add r12d, eax
inc esi
cmp esi, 0x4b
jb 0x18000ed10
mov r10, qword [rsp + 0xa8]
mov dword [rsp + 0x40], r12d
mov r12, qword [rsp + 0x50]
inc r12
mov byte [rsp + 0x24], r13b
mov qword [rsp + 0x50], r12
cmp r12, qword [r10]
jb 0x18000ed00
mov esi, dword [rsp + 0xc0]
mov r12d, dword [rsp + 0x34]
jmp 0x18000eaa5
xor r13b, r13b
mov byte [rsp + 0x24], r13b
cmp byte [rsp + 0x25], r13b
je case.0x18000ea83.16
mov rcx, qword [rsp + 0x38]
call sub.IMM32.dll_ImmDestroyContext
jmp 0x18000ea9d
mov qword [rsp + 0x48], r10
jmp case.0x18000ea83.16
mov r12d, dword [rsp + 0x34]
mov eax, dword [rsp + 0x20]
dec esi
dec r12d
mov dword [rsp + 0xc0], esi
mov dword [rsp + 0x34], r12d
cmp esi, eax
ja 0x18000ea65
jmp 0x18000ef15
mov r9d, 0x33
mov r8, r15
xor edx, edx
mov rcx, r10
call fcn.18003c6a0
jmp 0x18000ef19
movzx r8d, byte [rsp + 0xc0]
nop dword [rax + rax]
mov ebx, 0x6b
mov eax, ebx
sub eax, 0x6a
je 0x18000ef01
cmp eax, 1
jne 0x18000ef06
mov rax, qword [r15]
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
mov ecx, 0xb8
mov dword [rsp + 0xc0], 2
call fcn.1800534b0
movzx r8d, al
cmp al, 2
jne 0x18000ef06
mov edx, 0x14
mov ecx, edx
sub ecx, 0x13
je 0x18000ef15
cmp ecx, 1
jne 0x18000eef8
mov byte [rsp + 0x30], cl
dec edx
cmp edx, 0x12
ja 0x18000eee8
jmp 0x18000ef06
test r8b, r8b
je 0x18000ef10
dec ebx
cmp ebx, 0x69
ja 0x18000eea5
jmp 0x18000eea0
mov byte [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret