Function at 0x18005b540
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1800a2078]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov r13, qword [rbp + 0xa0]
mov r12d, ecx
imul eax, ecx, 0x5a2
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x4c], ecx
mov dword [rsp + 0x48], eax
mov ebx, dword [rsp + 0x48]
cmp ecx, eax
ja 0x18005b979
cmp r12d, 0xb6be
ja 0x18005b7a4
je 0x18005b780
mov eax, r12d
sub eax, 0xcb
je 0x18005b752
sub eax, 0x4e
je 0x18005b71e
sub eax, 0x404f
je 0x18005b6cb
sub eax, 0x30c0
je 0x18005b602
cmp eax, 0x1007
jne 0x18005b966
mov r8d, dword [r9]
mov edx, 1
mov r9, qword [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
jmp 0x18005b95c
lea r9, [rbp - 0x48]
mov r8d, 0x9f
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x60]
call fcn.180042c90
mov esi, 1
nop
mov edi, 0xe8
mov eax, edi
sub eax, 0xe5
je 0x18005b696
sub eax, 1
je 0x18005b674
sub eax, 1
je 0x18005b66a
cmp eax, 1
jne 0x18005b6ad
lea r8, [rbp - 0x48]
mov dword [rsp + 0x30], esi
mov edx, 0x103
lea rcx, [rsp + 0x30]
call fcn.180021630
xor r9d, r9d
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x48]
lea ecx, [r9 + 6]
call fcn.180064370
jmp 0x18005b6ad
lea r9, [rbp - 0x48]
lea rdx, [rbp - 0x78]
jmp 0x18005b69d
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 1
mov r8d, 0x20
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x18]
call fcn.1800101f0
jmp 0x18005b6ad
xor r9d, r9d
lea rdx, [rbp - 0x18]
mov r8d, 0x9f
lea rcx, [rsp + 0x60]
call fcn.180042c90
dec edi
cmp edi, 0xe4
ja 0x18005b625
inc esi
cmp esi, 0x64
jle 0x18005b620
jmp 0x18005b95c
lea rdx, [0x18009241c]
lea rcx, str.Formatfehler
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [rsp + 0x50], rax
cmp rax, 0
jne 0x18005b95c
mov ecx, 0xdb
cmp ecx, 0xdb
je 0x18005b709
cmp ecx, 0x1719
je 0x18005b979
jmp 0x18005b70b
xor ebx, ebx
add ecx, 0x163e
cmp ecx, 0x2c7c
jbe 0x18005b6f3
jmp 0x18005b95c
lea r8, [rbp - 0x48]
mov dword [rsp + 0x30], 0
mov edx, 0x103
lea rcx, [rsp + 0x30]
call fcn.180021630
xor r9d, r9d
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x48]
lea ecx, [r9 + 6]
call fcn.180064370
jmp 0x18005b95c
movzx eax, word [r9]
lea rdx, [rsp + 0x30]
lea r9, [rsp + 0x58]
mov word [rsp + 0x30], ax
mov r8, r13
mov qword [rsp + 0x58], 2
mov ecx, 0xd4
call fcn.1800823e0
jmp 0x18005b95c
mov rax, qword [rbp + 0xb0]
xor ebx, ebx
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r13 + 0x10], xmm1
cmp dword [rdx], ebx
sete bl
jmp 0x18005b966
cmp r12d, 0xc2f6
je 0x18005b951
cmp r12d, 0xe337
je 0x18005b7ec
cmp r12d, 0x103bd
je 0x18005b7e2
cmp r12d, 0x111ac
je 0x18005b979
cmp r12d, 0x14484
je 0x18005b979
jmp 0x18005b966
mov ebx, 1
jmp 0x18005b966
mov r15d, 0xa
mov r14d, 0xe7
nop dword [rax + rax]
cmp r14d, 0xe7
je 0x18005b911
cmp r14d, 0x68ac
jne 0x18005b931
xor esi, esi
cmp dword [0x18009d17c], esi
jle 0x18005b931
nop dword [rax + rax]
mov edi, PathMakeUniqueName
cmp edi, 0x2d
je 0x18005b8cd
cmp edi, 0x89d
je 0x18005b8b3
cmp edi, 0x110d
je 0x18005b891
cmp edi, 0x197d
je 0x18005b878
cmp edi, 0x21ed
jne 0x18005b8ef
lea r9, [rbp + 0x18]
mov edx, 0xa4
lea r8, [rbp - 0x78]
lea rcx, [rbp - 0x18]
call fcn.18000fe10
xor r9d, r9d
lea rdx, [rbp - 0x18]
mov r8d, 0x9f
lea rcx, [rsp + 0x60]
call fcn.180042c90
jmp 0x18005b8ef
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 1
mov r8d, 0x20
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x18]
call fcn.1800101f0
jmp 0x18005b8ef
lea r9, [rbp - 0x48]
mov r8d, 0x9f
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x60]
call fcn.180042c90
jmp 0x18005b8ef
mov edx, 3
lea rcx, [rbp - 0x48]
call fcn.18005b9b0
xor r9d, r9d
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x48]
lea ecx, [r9 + 6]
call fcn.180064370
add edi, 0x870
cmp edi, 0x2a30
jbe 0x18005b835
inc esi
cmp esi, dword [0x18009d17c]
jl 0x18005b830
jmp 0x18005b931
lea rax, [rbp + 0x18]
mov dword [rsp + 0x28], 0xd8
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.180013c80
add r14d, 0x67c5
cmp r14d, 0xcf8a
jbe 0x18005b800
sub r15, 1
jne 0x18005b7f2
jmp 0x18005b95c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x38]
imul eax, dword [rsp + 0x4c], 0x67
add r12d, eax
cmp r12d, dword [rsp + 0x48]
jbe 0x18005b5a0
mov eax, ebx
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.180084890
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret