Function at 0x180040ff0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x58
lea ebx, [r8 + 0x41a]
mov r14, r9
mov dword [rbp - 0x24], ebx
cmp r8d, ebx
mov ebx, dword [rbp + 0x58]
mov esi, r8d
mov r10, rdx
mov r11, rcx
jae 0x1800414ce
mov r12, qword [rbp + 0x70]
mov r15, qword [rbp + 0x68]
mov r13d, dword [rbp + 0x58]
mov eax, dword [rbp - 0x24]
nop dword [rax + rax]
cmp esi, 0x166
ja 0x1800414be
je 0x1800414ba
mov eax, esi
sub eax, 0x70
je 0x180041271
sub eax, 0x47
je 0x1800410c9
cmp eax, 0x25
jne 0x1800414e9
xor r9d, r9d
cmp dword [r12], r9d
jle 0x1800414e9
nop dword [rax + rax]
mov eax, dword [r15]
add eax, r9d
movsxd r8, eax
mov rax, qword [rbp + 0x78]
add r8, r8
mov rdx, qword [rax]
mov eax, dword [r10]
add eax, r9d
inc r9d
movsxd rcx, eax
mov rax, qword [r11]
add rcx, rcx
movups xmm0, xmmword [rdx + r8*8]
movups xmmword [rax + rcx*8], xmm0
cmp r9d, dword [r12]
jl 0x180041090
jmp 0x1800414e9
lea rdx, str.Clayton_Mansnerus
mov ecx, 0x2d
call fcn.180044d20
xor r14d, r14d
lea rsi, [0x1800a4bc8]
nop dword [rax]
nop dword [rax + rax]
mov edi, 0x1e
cmp edi, 0x1e
je 0x18004119d
cmp edi, 0x11d0
je 0x180041181
cmp edi, 0x2382
jne 0x1800411d0
mov r8, qword [rsi - 8]
lea rdx, str.Whelm
mov ecx, 0x2d
call fcn.180044d20
cmp dword [rsi - 0x18], 1
jne 0x180041146
mov r8, qword [rsi]
lea rdx, [0x180096a9c]
mov ecx, 0x2d
call fcn.180044d20
jmp 0x1800411d0
lea r9, [0x1800a4bb0]
mov dword [rbp - 0x20], r14d
xor r8d, r8d
mov qword [rsp + 0x20], 0
lea rdx, [rbp - 0x20]
mov ecx, 0xb8
call fcn.180032610
mov r8d, eax
lea rdx, str.Pixx
mov ecx, 0x2d
call fcn.180044d20
jmp 0x1800411d0
mov rax, qword [rbp + 0x78]
mov r8d, r13d
mov rdx, qword [rsi]
mov ecx, dword [rax]
call fcn.1800696e0
cmp eax, r13d
jne 0x18004155c
jmp 0x1800411d0
movsx r13d, word [rsi - 0x10]
mov edx, 1
lea eax, [r13 + 1]
movsxd rcx, eax
call fcn.180058228
mov qword [rsi], rax
test rax, rax
je 0x180041546
mov rax, qword [rbp + 0x78]
xor r8d, r8d
mov edx, dword [rsi - 0x14]
mov ecx, dword [rax]
call fcn.180062020
add edi, 0x11b2
cmp edi, 0x3516
jbe 0x1800410f5
inc r14d
add rsi, 0x20
cmp r14d, 0xd
jl 0x1800410f0
lea rdx, [0x180090424]
mov ecx, 0x2d
call fcn.180044d20
mov r9d, 0xd3
mov dword [rbp - 0x20], 0x57415645
lea r8, [rbp - 0x20]
mov dword [rbp - 0x18], 2
lea rdx, [rbp - 0x18]
lea rcx, [0x1800a4bb0]
call fcn.18003a150
test eax, eax
jne 0x180041526
lea r9, [0x1800a4bb0]
mov dword [rbp - 0x18], 5
xor r8d, r8d
mov qword [rsp + 0x20], 0
lea rdx, [rbp - 0x18]
mov ecx, 0xb8
call fcn.180032610
cmp eax, 1
jne 0x180041506
mov esi, dword [rbp + 0x58]
mov r14, qword [rbp + 0x60]
jmp 0x1800414e9
test r11, r11
je 0x18004135d
mov edi, 0x110
nop
cmp edi, 0x110
je 0x18004133b
cmp edi, 0x1a90
je 0x180041335
cmp edi, 0x3410
je 0x180041319
cmp edi, 0x4d90
jne 0x180041346
test r12, r12
je 0x180041346
mov r9d, 0x92
lea r8, [0x180092b0c]
lea rdx, [rbp + 0x78]
mov rcx, r15
call fcn.180018ab0
cmp dword [r14], 0
lea rdx, [rbp + 0x78]
mov r9d, 0x92
mov rcx, r15
je 0x18004130b
lea r8, [0x1800930d4]
call fcn.180018ab0
mov r9d, 0x92
lea rdx, [rbp + 0x78]
mov r8, r12
mov rcx, r15
call fcn.180018ab0
lea r8, [0x18008fa48]
jmp 0x18004131d
mov r8, r12
call fcn.180018ab0
mov r11, qword [rbp + 0x48]
jmp 0x180041346
lea r8, [rbp - 0x28]
mov r9d, 0x92
lea rdx, [rbp + 0x78]
mov rcx, r15
call fcn.180018ab0
mov r11, qword [rbp + 0x48]
jmp 0x180041346
mov byte [rbp - 0x26], 0
jmp 0x180041346
movzx eax, byte [r11]
mov byte [rbp - 0x27], al
mov byte [rbp - 0x28], 0x2d
add edi, 0x1980
cmp edi, 0x6600
jbe 0x180041280
jmp 0x1800414e9
test r10, r10
je 0x180041458
mov rsi, qword [rbp - 0x10]
mov edi, 0x41
nop
mov eax, edi
sub eax, 0x41
je 0x180041420
sub eax, 0x2b
je 0x18004140c
sub eax, 0x2b
je 0x1800413f4
cmp eax, 0x2b
jne 0x18004143d
test r12, r12
je 0x18004143d
lea r9d, [rax + 0x67]
mov rcx, r15
lea r8, [0x1800930d0]
lea rdx, [rbp + 0x78]
call fcn.180018ab0
cmp dword [r14], 0
lea rdx, [rbp + 0x78]
mov r9d, 0x92
mov rcx, r15
je 0x1800413ef
lea r8, [0x1800930d4]
call fcn.180018ab0
mov r9d, 0x92
lea rdx, [rbp + 0x78]
mov r8, r12
mov rcx, r15
call fcn.180018ab0
lea r8, [0x18008fa48]
jmp 0x180041427
mov r8, r12
jmp 0x180041434
cmp rsi, qword [r15]
mov r8, rsi
mov rcx, qword [rbp + 0x78]
mov rdx, r10
cmovae r8, qword [r15]
call fcn.1800620d0
jmp 0x180041439
lea rdx, [0x1800930cc]
mov rcx, r10
call fcn.18005d660
mov rsi, rax
jmp 0x180041439
lea r8, [0x1800930c8]
mov r9d, 0x92
lea rdx, [rbp + 0x78]
mov rcx, r15
call fcn.180018ab0
mov r10, qword [rbp + 0x50]
add edi, 0x2b
cmp edi, 0xed
jb 0x180041370
mov qword [rbp - 0x10], rsi
mov esi, dword [rbp + 0x58]
jmp 0x1800414e9
test r12, r12
je 0x1800414e9
cmp dword [r14], 0
lea rdx, [rbp + 0x78]
mov r9d, 0x92
mov rcx, r15
je 0x1800414b0
lea r8, [0x1800930d4]
call fcn.180018ab0
mov r9d, 0x92
lea rdx, [rbp + 0x78]
mov r8, r12
mov rcx, r15
call fcn.180018ab0
mov r9d, 0x92
lea r8, [0x18008fa48]
lea rdx, [rbp + 0x78]
mov rcx, r15
call fcn.180018ab0
jmp 0x1800414e9
mov r8, r12
call fcn.180018ab0
jmp 0x1800414e9
xor ebx, ebx
jmp 0x1800414ec
cmp esi, 0x18b
je 0x1800414e1
cmp esi, 0x215
jne 0x1800414ec
mov eax, ebx
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, dword [r12]
add dword [r11 + 8], eax
mov eax, dword [rbp - 0x24]
add esi, 0xaf
mov dword [rbp + 0x58], esi
cmp esi, eax
jae 0x1800414ce
mov r10, qword [rbp + 0x50]
mov r11, qword [rbp + 0x48]
jmp 0x180041050
mov ecx, 2
call fcn.1800588a4
mov rcx, rax
lea rdx, str.Nao_resiste_Vai_meu_amor
call fcn.1800010c0
mov eax, 0xffffffff
jmp 0x1800414d0
mov ecx, 2
call fcn.1800588a4
mov rcx, rax
lea rdx, str.STILL_WANT_SOME_crank_
call fcn.1800010c0
mov eax, 0xffffffff
jmp 0x1800414d0
lea rcx, str.shots_
call fcn.18005c0a0
mov eax, 0xffffffff
jmp 0x1800414d0
mov ecx, 2
call fcn.1800588a4
mov rcx, rax
lea rdx, str.Lord_of_the_Lost___Empyrean
call fcn.1800010c0
mov ecx, 2
call fcn.180057d04
int3