Function at 0x180056680
Capabilities:
Get file size
Read file via mapping
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
lea ebp, [rcx + 0x75]
movaps xmmword [rsp + 0x50], xmm6
mov rdi, r9
mov r14, r8
cmp ecx, ebp
jae 0x1800568b5
movss xmm6, dword [0x18008270c]
lea esi, [rcx - 0xe]
mov r15, qword [rsp + 0x48]
lea r8, [0x180000000]
mov r12, qword [rsp + 0x48]
xor ebx, ebx
mov r13, qword [rsp + 0x48]
cmp esi, 0xc6
ja case.0x1800566f2.9
movzx eax, byte [r8 + rsi + 0x56948]
mov ecx, dword [r8 + rax*4 + 0x56920]
add rcx, r8
jmp rcx
mov eax, dword [rdi + 0x14]
lea r9, [rsp + 0xa0]
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x40]
mov eax, dword [rdi + 0x10]
mov edx, 0xd7
mov dword [rsp + 0x38], eax
mov rcx, r14
mov eax, dword [rdi + 0xc]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov byte [rsp + 0xa0], 3
call fcn.180024e80
mov rax, qword [rdi]
mov qword [rsp + 0x38], rax
jmp 0x180056898
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180056898
test r12, r12
je 0x1800568fe
xor r9d, r9d
mov qword [rdx], r12
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rcx, r12
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r15, rax
test rax, rax
je 0x1800568d7
mov r9d, 0x135
mov qword [rsp + 0x40], r13
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x40]
xor ecx, ecx
call fcn.180069d50
jmp 0x180056898
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rdi
lea rdx, [0x180079fd4]
mov rcx, rax
call fcn.180076250
jmp 0x180056898
mov ecx, 0xa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putchar]
jmp 0x180056898
mov r8d, ebx
mov rdx, qword [r14]
cmp dword [rdi + 8], ebx
jle 0x180056898
mov rcx, qword [rsp + 0x38]
movss xmm0, dword [rcx]
mulss xmm0, xmm6
cvttss2si eax, xmm0
cmp eax, 0xff
jle 0x18005680e
mov eax, 0xff
jmp 0x180056813
test eax, eax
cmovs eax, ebx
mov byte [rdx], al
inc r8d
inc rdx
add rcx, 4
cmp r8d, dword [rdi + 8]
jl 0x1800567f4
jmp 0x180056898
mov r9d, 0x11d
mov r8, r14
mov rdx, rdi
xor ecx, ecx
call fcn.180058050
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x180056916
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r9d, dword [rsp + 0x48]
xor edx, edx
mov qword [rsp + 0x28], rbx
mov rcx, r13
mov dword [rsp + 0x20], eax
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r12, rax
jmp 0x180056898
mov r8d, 0xcf
mov dword [rsp + 0xa0], 1
lea rdx, [rsp + 0xa0]
mov rcx, r14
call fcn.1800335d0
mov rdx, qword [rsp + 0xa8]
lea r8, [0x180000000]
add esi, 0xd
lea eax, [rsi + 0xe]
cmp eax, ebp
jb 0x1800566d2
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, rdi
lea rcx, str.define_GPU_LN2_X_1025_______7.1047586007394398e2
mov r9d, eax
mov rdx, r14
call fcn.180076310
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.Set_Language_:_Language_Abbr
call fcn.180076310
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, rbx
jmp 0x1800568ba
mov rax, r15
jmp 0x1800568ba