Function at 0x180054230
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
lea esi, [rdx - 0x10]
mov r14, r9
mov rbp, r8
mov rdi, rcx
cmp edx, esi
jbe case.0x1800542a2.0
mov r12, qword [rsp + 0x68]
lea ebx, [rdx - 0xc3]
mov r15, qword [rsp + 0x68]
lea r8, [0x180000000]
mov r13, qword [rsp + 0x68]
lea r9, [0x1800a9369]
xor edx, edx
cmp ebx, 0x51
ja case.0x1800542a2.13
movzx eax, byte [r8 + rbx + 0x54514]
mov ecx, dword [r8 + rax*4 + 0x544dc]
add rcx, r8
jmp rcx
mov r12, rdx
mov dword [rsp + 0x60], edx
mov dword [rdi], edx
jmp case.0x1800542a2.13
mov edx, 0x6b
mov rcx, r15
call fcn.180007ec0
mov r15, rax
jmp 0x180054493
mov eax, dword [r14]
mov r9, rdi
mov dword [rsp + 0xa8], eax
mov r8, rbp
lea rax, [rsp + 0xa8]
mov edx, 0x72
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.18003c890
mov dword [rsp + 0x68], eax
jmp 0x180054493
mov eax, dword [rdi]
mov dword [rsp + 0x68], eax
jmp case.0x1800542a2.13
test r14, r14
jne 0x180054355
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x40], rdx
lea r8, str.layout__s__in_
mov qword [rsp + 0x38], r9
xor ecx, ecx
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
mov dword [rsp + 0xa8], edx
mov edx, 0xcd
call fcn.180026490
xor edx, edx
lea r9, [0x1800a9369]
test rdi, rdi
jne 0x18005439d
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x40], rdx
lea r8, str.UpdateSourceURL
mov qword [rsp + 0x38], r9
xor ecx, ecx
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
mov dword [rsp + 0xa8], edx
mov edx, 0xcd
call fcn.180026490
cmp dword [rdi + 0x1c], 0
jne 0x1800543ae
cmp dword [rdi + 0x20], 0
mov eax, 0xf
je 0x1800543b3
mov eax, 0x13
mov dword [r14], eax
jmp 0x180054493
mov qword [rsp + 0x50], rdx
xor r9d, r9d
mov dword [rsp + 0x48], 0xab
xor r8d, r8d
mov qword [rsp + 0x40], rdx
xor ecx, ecx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
xor edx, edx
call fcn.18002ca60
mov r13, rax
mov r15, rax
jmp 0x180054493
mov r9, qword [0x1800c9d18]
lea rcx, [rsp + 0x60]
mov edx, 4
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r12, rax
jmp 0x180054493
lea rax, [r12*4]
mov qword [rsp + 0x68], rax
jmp case.0x1800542a2.13
mov edx, 0x6b
mov rcx, r15
call fcn.180007ec0
mov edx, 0x6b
mov rcx, rax
call fcn.180007ec0
mov r15, rax
jmp 0x180054493
xor r8d, r8d
mov rdx, r13
mov ecx, 0xcc
call fcn.1800338f0
jmp 0x180054493
test rbp, rbp
je 0x180054468
mov rax, qword [r14 + 0x18]
mov qword [rbp + 0x18], rax
cmp qword [r14 + 0x18], 0
jne 0x180054474
mov qword [rdi], rbp
jmp case.0x1800542a2.13
xor r9d, r9d
xor edx, edx
mov r8d, 0x119
mov rcx, r14
call fcn.1800469a0
movsxd rcx, eax
mov rax, qword [r14 + 0x18]
mov qword [rax + rcx*8 + 0x20], rbp
xor edx, edx
lea r8, [0x180000000]
lea r9, [0x1800a9369]
dec ebx
lea eax, [rbx + 0xc3]
cmp eax, esi
ja 0x180054285
jmp case.0x1800542a2.0
mov dword [rsp + 0x68], edx
mov rax, qword [rsp + 0x68]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret