Function at 0x180055840
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 - 0x27]
sub rsp, 0xc0
mov rax, qword [0x1800ab9c8]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r13, r9
mov r14d, r8d
mov qword [rbp - 0x51], rdx
mov r15, rcx
movdqa xmm0, xmmword [0x1800a4c90]
movdqa xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
movdqa xmm1, xmm0
movdqa xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
xor r9d, r9d
mov qword [rbp - 0x31], r9
lea ebx, [r8 + 8]
mov dword [rbp - 0x49], ebx
cmp r8d, ebx
jae 0x180055aaa
lea esi, [r8 - 0xfe]
lea r10, [0x180000000]
lea r8d, [r9 + 1]
mov r12, qword [rbp - 0x51]
mov rdi, qword [rbp - 0x51]
nop
cmp esi, 0x11
ja case.0x1800558e4.2
mov ecx, dword [r10 + rsi*4 + 0x55b54]
add rcx, r10
jmp rcx
movzx eax, word [r15]
mov word [rbp - 0x59], ax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1f
mov qword [rsp + 0x20], r9
xor r9d, r9d
mov r8, rdx
lea rdx, [rbp - 0x41]
xor ecx, ecx
call fcn.180061a80
jmp 0x1800559d2
test r13, r13
jne case.0x1800558e4.2
movzx edi, r9w
jmp 0x180055aae
mov r8d, 0xcd
mov rdx, r13
lea rcx, [rbp - 0x29]
call fcn.180067810
test al, al
jmp 0x1800559d0
mov ebx, 0x1d
nop word [rax + rax]
cmp ebx, 0x1d
je 0x180055979
cmp ebx, 0xd7b
jne 0x180055993
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
cmp r12, 1
je case.0x1800558e4.11
mov byte [rbp - 0x59], 0
jmp 0x180055aaa
mov r9, rdi
mov edx, 0x1000
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r12, rax
mov r8d, 1
add ebx, 0xd5e
cmp ebx, 0x1abc
jbe 0x180055950
mov ebx, dword [rbp - 0x49]
lea r8, [rbp - 9]
mov edx, ILRemoveLastID
lea rcx, [rbp - 0x41]
call fcn.1800609c0
test al, al
jmp 0x1800559d0
lea rdx, [0x1800a03e0]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
je 0x180055970
lea r10, [0x180000000]
xor r9d, r9d
lea r8d, [r9 + 1]
mov rdx, qword [rbp - 0x51]
inc r14d
inc esi
cmp r14d, ebx
jae 0x180055aaa
jmp 0x1800558d0
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rax + r13], 0
jne 0x180055a00
cmp rax, 5
je 0x180055a18
mov edi, r9d
jmp 0x180055aae
mov r8d, 2
lea rdx, [0x1800a1e08]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x180055a3b
xor r14d, r14d
movzx edi, r14w
jmp 0x180055ab1
mov dword [rbp - 0x49], 3
mov r8d, ILFindLastID
lea rdx, [r13 + 2]
lea rcx, [rbp - 0x49]
call fcn.180064a80
lea rcx, [r13 + 2]
test eax, eax
je 0x180055a77
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [r15 + 0x238], eax
mov rax, qword [rbp - 0x51]
inc dword [rax]
mov edi, 1
jmp 0x180055aae
mov r8d, 3
lea rdx, [0x18009c174]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x180055a32
mov ecx, 1
mov word [r15 + 0x186], cx
mov rax, qword [rbp - 0x51]
inc dword [rax]
movzx edi, cx
jmp 0x180055aae
mov byte [rbp - 0x59], 1
movzx edi, word [rbp - 0x59]
xor r14d, r14d
mov rbx, qword [rbp - 0x41]
test rbx, rbx
je 0x180055b21
mov rsi, qword [rbp - 0x39]
cmp rbx, rsi
je 0x180055ada
xor edx, edx
mov rcx, rbx
call fcn.18002e540
add rbx, 0x20
cmp rbx, rsi
jne 0x180055ac3
mov rbx, qword [rbp - 0x41]
mov rdx, qword [rbp - 0x31]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x180055b0d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180055b0d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1800890f4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], r14
lea rcx, [rbp - 0x29]
call fcn.18002dd10
movzx eax, di
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.180089600
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret