Function at 0x180040260
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
lea r12d, [r9 + 7]
mov rbx, r8
mov r15, rcx
cmp r9d, r12d
jae 0x180040455
mov r13d, dword [rsp + 0x88]
lea r14d, [r9 - 0x10b]
lea r8, [0x180000000]
xor ebp, ebp
cmp r14d, 0xe
ja case.0x1800402b9.2
mov ecx, dword [r8 + r14*4 + 0x40604]
add rcx, r8
jmp rcx
mov rax, qword [rbx]
mov esi, ebp
cmp dword [rax + 0x18], 0
jbe 0x180040320
nop word [rax + rax]
mov rax, qword [rbx + 8]
mov edi, esi
mov rcx, qword [rax + rdi*8 + 0x2298]
test rcx, rcx
je 0x1800402f8
call fcn.18005932c
mov rax, qword [rbx + 8]
mov qword [rax + rdi*8 + 0x2298], rbp
mov rax, qword [rbx + 8]
mov rcx, qword [rax + rdi*8 + 0x22e8]
test rcx, rcx
je 0x180040316
call fcn.18005932c
mov rax, qword [rbx + 8]
mov qword [rax + rdi*8 + 0x22e8], rbp
mov rax, qword [rbx]
inc esi
cmp esi, dword [rax + 0x18]
jb 0x1800402d0
mov edi, 0x2328
mov esi, 2
nop word [rax + rax]
mov rax, qword [rbx + 8]
mov rdx, rax
mov rcx, qword [rax + rdi - 0x50]
test rcx, rcx
je 0x180040356
call fcn.18005932c
mov rax, qword [rbx + 8]
mov qword [rdi + rax - 0x50], rbp
mov rax, qword [rbx + 8]
mov rdx, rax
mov rcx, qword [rax + rdi]
test rcx, rcx
je 0x180040370
call fcn.18005932c
mov rax, qword [rbx + 8]
mov qword [rdi + rax], rbp
mov rdx, qword [rbx + 8]
add rdi, 8
sub rsi, 1
jne 0x180040330
mov rax, qword [rbx]
mov edi, ebp
cmp dword [rax + 0x28], esi
jbe 0x1800403c2
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rbx + 8]
mov esi, edi
mov rcx, qword [rdx + rsi*8 + 0x2338]
test rcx, rcx
je 0x1800403b8
call fcn.18005932c
mov rax, qword [rbx + 8]
mov qword [rax + rsi*8 + 0x2338], rbp
mov rdx, qword [rbx + 8]
mov rax, qword [rbx]
inc edi
cmp edi, dword [rax + 0x28]
jb 0x180040390
mov rcx, qword [rdx + 0x2438]
test rcx, rcx
je 0x1800403e1
call fcn.18005932c
mov rax, qword [rbx + 8]
mov qword [rax + 0x2438], rbp
mov rax, qword [rbx]
cmp dword [rax + 0x18], 0
jbe 0x180040434
nop word [rax + rax]
mov edi, ebp
mov esi, 2
add rdi, 0x244
shl rdi, 4
mov rax, qword [rbx + 8]
mov rcx, qword [rdi + rax]
test rcx, rcx
je 0x180040420
call fcn.18005932c
mov rax, qword [rbx + 8]
mov qword [rdi + rax], 0
add rdi, 8
sub rsi, 1
jne 0x180040402
mov rax, qword [rbx]
inc ebp
cmp ebp, dword [rax + 0x18]
jb 0x1800403f0
xor ebp, ebp
mov rdx, qword [rsp + 0x78]
lea r8, [0x180000000]
inc r14d
lea eax, [r14 + 0x10b]
cmp eax, r12d
jb 0x1800402a4
mov eax, dword [rsp + 0x88]
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8d, dword [r15]
mov ecx, dword [rbx]
call fcn.18006bf90
mov r13d, eax
jmp 0x180040436
mov rax, qword [rbx]
mov rcx, qword [rax + 0x258]
test rcx, rcx
je case.0x1800402b9.2
call fcn.18005932c
mov rax, qword [rbx]
mov qword [rax + 0x258], rbp
mov rax, qword [rbx]
mov dword [rax + 0x260], ebp
jmp 0x180040436
cmp dword [r15], 0
mov ecx, ebp
jle case.0x1800402b9.2
mov rax, rbx
nop dword [rax]
nop dword [rax + rax]
mov dword [rax], 0x3f800000
lea rax, [rax + 4]
inc ecx
cmp ecx, dword [r15]
jl 0x1800404c0
jmp case.0x1800402b9.2
mov rax, qword [rbx]
cmp dword [rax + 4], 0
je 0x18004051e
cmp dword [rax + 0x18], 0
mov edi, ebp
jbe 0x18004051e
nop word [rax + rax]
mov rax, qword [rbx + 8]
mov esi, edi
mov rcx, qword [rax + rsi*8 + 0x3530]
test rcx, rcx
je 0x180040514
call fcn.18005932c
mov rax, qword [rbx + 8]
mov qword [rax + rsi*8 + 0x3530], rbp
mov rax, qword [rbx]
inc edi
cmp edi, dword [rax + 0x18]
jb 0x1800404f0
mov r9, qword [rbx + 8]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rbp
mov r9, qword [r9 + 0x2078]
lea edx, [r8 + 0x51]
call fcn.180034e60
jmp 0x180040436
mov edi, 0x24c0
mov ebp, 2
nop dword [rax + rax]
mov esi, 2
nop word [rax + rax]
mov rax, qword [rbx + 8]
mov rcx, qword [rax + rdi]
test rcx, rcx
je 0x180040582
call fcn.18005932c
mov rax, qword [rbx + 8]
mov qword [rdi + rax], 0
mov rax, qword [rbx + 8]
add rdi, 8
sub rsi, 1
jne 0x180040560
sub rbp, 1
jne 0x180040550
mov rcx, qword [rax + 0x24e0]
test rcx, rcx
je 0x1800405b4
call fcn.18005932c
mov rax, qword [rbx + 8]
mov qword [rax + 0x24e0], rbp
mov rax, qword [rbx + 8]
jmp 0x1800405b6
xor ebp, ebp
mov rcx, qword [rax + 0x24e8]
test rcx, rcx
je 0x180040436
call fcn.18005932c
mov rax, qword [rbx + 8]
mov qword [rax + 0x24e8], rbp
jmp 0x180040436
cmp r13d, 0xffffffff
je 0x1800405e9
mov eax, r13d
jmp 0x18004045c
mov r8d, 0xfffffffc
lea rdx, [0x180081054]
lea rcx, str.1HopjDlVSMOsE0LUYpb6fg
call fcn.180037360
int3