Function at 0x1800472b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
lea ebx, [rcx + 0xb17]
mov rdi, rdx
mov rdx, qword [rbp - 0x19]
mov r15, r8
mov qword [rbp - 0x39], rdx
mov r14d, ecx
mov dword [rbp - 0x21], ebx
mov r13d, ecx
lea r9, [0x180000000]
cmp ecx, ebx
jae 0x180047842
mov r14, qword [rbp - 0x19]
mov r12d, dword [rbp + 0x67]
mov esi, dword [rbp + 0x67]
mov qword [rbp + 0xf], r14
cmp r13d, 0x194
ja 0x18004743b
je 0x18004740e
cmp r13d, 0xd6
ja 0x1800473a6
je 0x180047384
mov eax, r13d
sub eax, 0x46
je 0x180047364
sub eax, 0x47
je 0x180047353
cmp eax, 0x32
jne 0x1800477cb
mov dword [0x1800ef210], 0x34312c33
jmp 0x1800477cb
test rdi, rdi
je case.0x180047830.2
xor r12d, r12d
jmp 0x1800477cb
xor edx, edx
lea r9, str.PPCISD::SHL
xor ecx, ecx
lea r8d, [rdx + 0x29]
call fcn.1800288c0
mov rdx, rax
mov qword [rbp - 0x39], rax
jmp 0x1800477cb
mov r8d, 0x82
lea rcx, [rbp + 7]
mov rdx, r15
call fcn.18001a050
test al, al
jne 0x1800477c7
mov byte [rbp - 0x31], al
jmp 0x180047a42
mov eax, r13d
sub eax, 0xf6
je 0x1800473d6
sub eax, 0x3e
je 0x1800473c7
cmp eax, 0x1a
jne 0x1800477cb
mov byte [rbp - 0x41], 0
jmp 0x1800477cb
xor esi, esi
cmp dword [rdi + 8], 1
cmova esi, dword [rdi + 8]
jmp 0x1800477cb
mov qword [rsp + 0x38], 0
xor r9d, r9d
mov qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], 0x45
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], 0
call fcn.180041cd0
jmp 0x1800477c7
xor r9d, r9d
xor ecx, ecx
mov r8d, 0x119
call fcn.18005ddc0
xor r8d, r8d
mov dword [rbp - 0x29], 1
mov edx, 0x128
lea rcx, [rbp - 0x29]
call fcn.1800079b0
jmp 0x1800477c7
cmp r13d, 0x244
ja 0x18004761c
je 0x180047610
mov eax, r13d
sub eax, 0x19d
je 0x18004758d
sub eax, 0x3e
je 0x18004747f
cmp eax, 0x1a
jne 0x1800477cb
lea ecx, [rax - 0xa]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
mov qword [rbp + 0xf], rax
jmp 0x1800477c7
cmp r12d, esi
je 0x1800477cb
nop dword [rax + rax]
mov rdx, qword [rdi]
lea ebx, [rsi + r12]
mov rcx, qword [r15]
shr ebx, 1
mov rdx, qword [rdx + rbx*8]
call qword [rdi + 0x18]
test eax, eax
jns 0x1800474ae
mov esi, ebx
jmp 0x180047578
jle 0x1800474b9
lea r12d, [rbx + 1]
jmp 0x180047578
mov r14d, 0x10a
nop
cmp r14d, 0x10a
je 0x1800474db
cmp r14d, 0x1cd
je 0x180047a42
jmp 0x180047564
mov rax, qword [r15]
lea r9, [rbp + 0x17]
lea r8, [rbp - 0x11]
mov qword [rbp + 0x17], rax
mov rdx, rdi
mov dword [rbp - 0x11], ebx
lea rcx, [rbp - 9]
mov dword [rbp - 9], r12d
mov dword [rsp + 0x20], 0xfc
call fcn.180012320
mov rcx, qword [r15]
lea r9, [rbp - 1]
mov r12d, eax
mov qword [rbp - 0x19], rcx
lea rax, [rbp - 0x19]
mov dword [rbp - 0x29], esi
lea rcx, [rbp - 0x29]
mov dword [rbp - 1], ebx
mov r8, rdi
mov qword [rsp + 0x20], rax
mov edx, 0x127
call fcn.180022c80
mov esi, eax
mov ebx, r12d
cmp r12d, eax
ja 0x18004755d
nop dword [rax]
mov rdx, qword [rdi]
mov ecx, ebx
mov rdx, qword [rdx + rcx*8]
mov rcx, qword [r15]
call qword [rdi + 0x10]
test eax, eax
jne 0x180047832
inc ebx
cmp ebx, esi
jbe 0x180047540
mov dword [rbp - 0x31], 0xffffffff
add r14d, 0xc3
cmp r14d, 0x290
jb 0x1800474c0
cmp r12d, esi
jne 0x180047490
mov ebx, dword [rbp - 0x21]
mov r14, qword [rbp + 0xf]
jmp 0x1800477c7
mov eax, 0x92492493
lea r8, [rbp - 0x29]
imul dword [r15]
mov ecx, 0xdf
add edx, dword [r15]
sar edx, 4
mov eax, edx
inc edx
shr eax, 0x1f
add eax, edx
mov rdx, rdi
mov dword [rbp - 0x29], eax
call fcn.180016740
test eax, eax
jne 0x18004783a
mov eax, 0x92492493
imul dword [r15]
add edx, dword [r15]
sar edx, 4
mov eax, edx
inc edx
shr eax, 0x1f
add eax, edx
mov dword [rdi], eax
mov eax, 0x92492493
mov ecx, dword [r15]
imul ecx
lea r8d, [rcx + rdx]
mov edx, 1
sar r8d, 4
mov eax, r8d
shr eax, 0x1f
add r8d, eax
imul eax, r8d, 0x1c
sub ecx, eax
mov rax, qword [rdi + 0x10]
shl edx, cl
movsxd rcx, r8d
mov dword [rax + rcx*4], edx
jmp 0x1800477c7
mov dword [rbp - 0x31], 0
jmp 0x1800477cb
mov eax, r13d
sub eax, 0x29c
je 0x18004771b
sub eax, 0x4f
je 0x180047a42
cmp eax, 0x58
jne 0x1800477cb
movzx eax, byte [rbp - 0x41]
lea rdx, [rbp - 0x49]
mov qword [rsp + 0x48], 0
xor r9d, r9d
mov qword [rsp + 0x40], 0
xor r8d, r8d
mov byte [rbp - 0x59], al
mov ecx, 0xbf
lea rax, [rbp - 0x59]
mov byte [rbp - 0x51], 1
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x51]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
mov byte [rbp - 0x49], 1
call fcn.180042a10
xor ecx, ecx
mov byte [r14 + 2], al
movzx eax, byte [rbp - 0x41]
lea rdx, [rbp - 0x59]
mov qword [rsp + 0x48], rcx
xor r9d, r9d
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov byte [rbp - 0x49], al
lea rax, [rbp - 0x49]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x51]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov ecx, 0xbf
mov byte [rbp - 0x51], 1
mov byte [rbp - 0x59], 0
mov qword [rsp + 0x20], rax
call fcn.180042a10
lea rcx, str.uniform_noise
mov byte [r14 + 3], al
call fcn.18005fbf0
movzx r8d, byte [r14]
lea rax, [0x180000000]
mov edx, r8d
lea rcx, str.get_HiddenFirstInstruction
mov r8, qword [rax + r8*8 + 0xb4180]
call fcn.18005fbf0
jmp 0x1800477c7
xor edx, edx
lea rcx, [rbp - 0x41]
lea r8d, [rdx + 0x45]
call fcn.1800388c0
movzx eax, byte [rbp - 0x41]
lea rdx, [rbp - 0x59]
xor ecx, ecx
mov byte [rbp - 0x49], al
mov qword [rsp + 0x48], rcx
lea rax, [rbp - 0x49]
mov qword [rsp + 0x40], rcx
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rcx
mov ecx, 0xbf
mov byte [rbp - 0x51], 4
mov byte [rbp - 0x59], 4
mov qword [rsp + 0x20], rax
call fcn.180042a10
xor ecx, ecx
mov byte [r14], al
movzx eax, byte [rbp - 0x41]
lea rdx, [rbp - 0x59]
mov qword [rsp + 0x48], rcx
xor r9d, r9d
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov byte [rbp - 0x49], al
lea rax, [rbp - 0x49]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x51]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov ecx, 0xbf
mov byte [rbp - 0x51], 2
mov byte [rbp - 0x59], 2
mov qword [rsp + 0x20], rax
call fcn.180042a10
mov byte [r14 + 1], al
mov rdx, qword [rbp - 0x39]
add r13d, 0xa7
cmp r13d, ebx
jb 0x180047310
mov r14d, dword [rbp + 0x67]
lea r9, [0x180000000]
mov r15, qword [rbp + 0xf]
lea esi, [r14 - 0x10]
cmp r14d, esi
jbe 0x180047a42
lea ebx, [r14 - 0x43]
mov r13d, 0x3335
lea r12, [0x1800ef210]
nop dword [rax + rax]
cmp ebx, 0x93
ja case.0x180047830.14
movzx eax, byte [r9 + rbx + 0x47aa0]
mov ecx, dword [r9 + rax*4 + 0x47a64]
add rcx, r9
jmp rcx
mov dword [rbp - 0x31], ebx
jmp 0x180047a42
mov dword [rbp - 0x31], eax
jmp 0x180047a42
mov r15, qword [rbp - 0x19]
jmp 0x1800477ea
mov byte [0x1800ef214], 0
jmp case.0x180047830.14
mov eax, dword [0x1800a95f1]
mov dword [0x1800ef214], eax
movzx eax, byte [0x1800a95f5]
mov byte [0x1800ef218], al
mov byte [0x1800ef219], 0
jmp case.0x180047830.14
xor r9d, r9d
xor ecx, ecx
mov r8d, 0x119
call fcn.18005ddc0
mov rdx, qword [rbp - 0x39]
jmp case.0x180047830.14
mov ecx, 0xe
nop word [rax + rax]
mov eax, ecx
sub eax, 0xb
je 0x180047a42
sub eax, 1
je 0x1800478cc
sub eax, 1
je 0x1800478c3
cmp eax, 1
jne 0x1800478d0
mov byte [0x1800ef229], 0x33
jmp 0x1800478d0
mov byte [0x1800ef22a], 0
jmp 0x1800478d0
mov qword [rbp - 0x31], r12
dec ecx
cmp ecx, 0xa
ja 0x1800478a0
mov r8d, 5
mov word [0x1800ef219], r13w
lea rdx, [0x1800a9633]
mov byte [0x1800ef21b], 0
lea rcx, [0x1800ef21b]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov rdx, qword [rbp - 0x39]
jmp case.0x180047830.14
xor edx, edx
lea r9, str.sskeys____
xor ecx, ecx
lea r8d, [rdx + 0x29]
call fcn.1800288c0
mov rdx, rax
mov qword [rbp - 0x39], rax
jmp case.0x180047830.14
mov ecx, dword [rdi + 4]
dec rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbp - 0x39]
mov qword [r15 + 8], rax
jmp case.0x180047830.14
mov byte [0x1800ef229], 0
jmp case.0x180047830.14
movzx r8d, byte [r15 + 1]
lea rcx, str.AsNonLocalVariableSymbol
mov edx, r8d
mov r8, qword [r9 + r8*8 + 0xb4200]
call fcn.18005fbf0
movzx r8d, byte [r15 + 2]
lea rax, [0x180000000]
mov edx, r8d
lea rcx, str.invalid_plane_for_format
mov r8, qword [rax + r8*8 + 0xb4220]
call fcn.18005fbf0
mov rdx, qword [rbp - 0x39]
jmp case.0x180047830.14
movzx r8d, byte [r15 + 3]
lea rcx, str.llvm.hexagon.V6.vzh.128B
mov edx, r8d
mov r8, qword [r9 + r8*8 + 0xb4230]
call fcn.18005fbf0
mov rdx, qword [rbp - 0x39]
jmp case.0x180047830.14
mov eax, dword [0x1800a9706]
mov dword [0x1800ef220], eax
movzx eax, byte [0x1800a970a]
mov byte [0x1800ef224], al
mov dword [0x1800ef225], 0x34363236
dec r14d
dec ebx
cmp r14d, esi
jbe 0x180047a42
lea r9, [0x180000000]
jmp 0x180047810
mov r8d, dword [rdi + 4]
mov edx, 1
mov r9, qword [0x1800c9d18]
dec r8
mov rcx, qword [r15 + 8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rax, r15
jmp 0x180047a46
mov dword [rbp - 0x31], 0xffffffff
jmp 0x180047a42
mov rax, qword [rbp + 0x7f]
lea r9, [rbp + 0x67]
mov r8, rdi
lea rcx, [rbp - 0x21]
mov edx, 0x98
movzx eax, word [rax]
mov word [rbp + 0x67], ax
mov eax, dword [rbp + 7]
mov dword [rbp - 0x21], eax
call fcn.180015570
mov byte [rbp - 0x31], al
mov rax, qword [rbp - 0x31]
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret