Function at 0x18004b390
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x450]
sub rsp, 0x550
mov rax, qword [0x180089b10]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov dword [rsp + 0x48], r8d
mov r14, rdx
mov qword [rbp - 0x60], rdx
mov r9, rcx
mov qword [rsp + 0x78], rcx
xor r11d, r11d
mov dword [rbp - 0x78], r11d
mov qword [rbp - 0x30], r11
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r11w
mov esi, r11d
mov qword [rbp + 0x10], r11
mov qword [rbp + 0x18], 7
mov word [rbp], r11w
mov r12d, r8d
imul eax, r8d, 0x350
mov dword [rsp + 0x58], eax
lea rbx, [0x180078dbc]
mov r13, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x58]
mov r15, qword [rsp + 0x60]
mov dword [rsp + 0x4c], ecx
cmp r8d, eax
ja 0x18004bd32
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x70], rsi
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x40], al
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x44], eax
mov qword [rbp - 0x70], r15
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x80], rax
lea rdx, str.example
mov edi, pe_nt_image_headers64
cmp r12d, 0x68e9
ja 0x18004b9a9
je 0x18004b999
cmp r12d, 0x34f2
ja 0x18004b6c4
je 0x18004b6b7
cmp r12d, 0x64
je 0x18004b603
cmp r12d, 0xfb
je 0x18004b5fa
cmp r12d, 0x1518
je 0x18004b6ac
cmp r12d, 0x29cc
jne 0x18004b5bd
lea rbx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rbx, qword [rbp - 0x40]
cmp qword [rbp - 0x30], 0
je 0x18004b5a3
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x18007e200]
nop dword [rax]
movzx eax, word [rcx]
cmp ax, di
jae 0x18004b54c
movzx eax, al
mov byte [rbp + rax + 0x40], 1
add rcx, 2
lea rax, [0x18007e204]
cmp rcx, rax
jne 0x18004b4f0
mov rcx, qword [rbp - 0x30]
dec rcx
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r13, [rbx + rax*2]
nop dword [rax]
movzx eax, word [r13]
cmp ax, di
jae 0x18004b541
cmp byte [rbp + rax + 0x40], 0
jne 0x18004b59b
cmp r13, rbx
je 0x18004b5a3
sub r13, 2
jmp 0x18004b530
mov rcx, qword [rbp - 0x30]
dec rcx
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r13, [rbx + rax*2]
nop word [rax + rax]
mov ecx, 2
lea rax, [0x18007e200]
movzx edx, word [r13]
cmp word [rax], dx
je 0x18004b59b
add rax, 2
sub rcx, 1
jne 0x18004b581
cmp r13, rbx
je 0x18004b5a3
sub r13, 2
jmp 0x18004b570
sub r13, rbx
sar r13, 1
jmp 0x18004b5aa
mov r13, 0xffffffffffffffff
cmp r13, 0xffffffffffffffff
je 0x18004bcb7
mov ecx, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x48]
mov r10d, dword [rsp + 0x44]
movzx edx, byte [rsp + 0x40]
imul eax, r8d, 0x35
add r12d, eax
mov r9, qword [rsp + 0x78]
xor r11d, r11d
cmp r12d, dword [rsp + 0x58]
jbe 0x18004b458
mov rsi, qword [rbp + 0x10]
mov r12, qword [rbp - 0x80]
mov r13, qword [rsp + 0x70]
lea rbx, [0x180078dbc]
jmp 0x18004bd4e
mov ecx, r11d
mov dword [rsp + 0x4c], ecx
jmp 0x18004b5bd
mov edi, 0x104
nop dword [rax + rax]
mov ebx, 0x8d
cmp ebx, 0x8d
je 0x18004b653
cmp ebx, 0x112
jne 0x18004b68c
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
mov r8d, dword [rbp - 0x30]
mov rcx, qword [r9]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x18004b6a3
add edi, 0x104
jmp 0x18004b684
mov edx, edi
cmp rdx, qword [rbp - 0x30]
ja 0x18004b674
mov qword [rbp - 0x30], rdx
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rax, qword [rbp - 0x40]
mov word [rax + rdx*2], r11w
jmp 0x18004b68c
xor r8d, r8d
sub rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x40]
call fcn.180020420
xor r11d, r11d
mov r9, qword [rsp + 0x78]
add ebx, 0x85
cmp ebx, 0x197
jb 0x18004b615
jmp 0x18004b610
mov ecx, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x48]
mov r12d, 0x1518
jmp 0x18004b5bd
mov rsi, r11
mov qword [rsp + 0x70], r11
jmp 0x18004b5bd
cmp r12d, 0x3e80
je 0x18004b92a
cmp r12d, 0x5334
je 0x18004b8f6
cmp r12d, 0x67e8
jne 0x18004b5bd
mov qword [rbp - 0x10], r11
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r11w
lea rdi, [r13 + 1]
mov r8, rdi
cmp qword [rbp - 0x30], rdi
cmovb r8, qword [rbp - 0x30]
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.180021030
mov esi, dword [rbp - 0x78]
or esi, 1
mov rbx, qword [rsp + 0x78]
add rbx, 8
lea rax, [rbp - 0x20]
cmp rbx, rax
je 0x18004b754
mov rcx, rbx
call fcn.18001e1d0
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rbx + 0x10], xmm1
jmp 0x18004b794
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x18004b794
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004b78f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004bd08
call fcn.18006f72c
xor eax, eax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 7
mov word [rbp - 0x20], ax
mov rax, qword [rbp - 0x30]
cmp rax, rdi
jb 0x18004c255
sub rax, rdi
mov r8, qword [rbp - 0x68]
cmp rax, r8
cmovb r8, rax
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rax, qword [rbp - 0x40]
lea rdx, [rax + rdi*2]
lea rcx, [rbp - 0x20]
call fcn.180021030
or esi, 2
mov dword [rbp - 0x78], esi
lea rsi, [rbp - 0x20]
mov r14, qword [rbp - 0x20]
mov r15, qword [rbp - 8]
cmp r15, 8
cmovae rsi, r14
mov rdi, qword [rbp - 0x10]
cmp rdi, 8
jae 0x18004b80d
movups xmm0, xmmword [rsi]
mov qword [rbp + 0x38], 7
jmp 0x18004b851
mov rbx, rdi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x20]
call fcn.1800201a0
mov qword [rbp + 0x20], rax
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x38], rbx
movups xmm0, xmmword [rbp + 0x20]
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp + 0x30], rdi
mov rax, qword [rbp + 0x18]
cmp rax, 8
jb 0x18004b899
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004b894
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004bd01
call fcn.18006f72c
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbp], xmm0
movups xmm0, xmmword [rbp + 0x30]
movups xmmword [rbp + 0x10], xmm0
cmp r15, 8
jb 0x18004b8e4
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x18004b8dc
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004bd08
mov rcx, r14
call fcn.18006f72c
mov r15, qword [rbp - 0x70]
mov r14, qword [rbp - 0x60]
mov rsi, qword [rsp + 0x70]
jmp 0x18004b5b4
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rsp + 0x40]
mov r10d, dword [rsp + 0x44]
cmp rcx, 0xffffffffffffffff
je 0x18004bcae
mov r8, rcx
sub r8, r13
dec r8
mov qword [rbp - 0x68], r8
mov ecx, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x48]
jmp 0x18004b5c7
mov qword [rbp - 0x68], 0xffffffffffffffff
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x18004b987
dec rcx
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rcx, [rdx + rax*2]
cmp word [rcx], 0x2e
je 0x18004b973
cmp rcx, rdx
je 0x18004b987
sub rcx, 2
cmp word [rcx], 0x2e
jne 0x18004b964
sub rcx, rdx
sar rcx, 1
mov qword [rsp + 0x60], rcx
mov ecx, dword [rsp + 0x4c]
jmp 0x18004b5bd
mov qword [rsp + 0x60], 0xffffffffffffffff
mov ecx, dword [rsp + 0x4c]
jmp 0x18004b5bd
mov r15, r11
mov qword [rbp - 0x70], r11
mov qword [rbp - 0x80], r11
jmp 0x18004b5bd
cmp r12d, 0x138c5
ja 0x18004ba1b
je 0x18004ba09
cmp r12d, 0x9ce0
je 0x18004b9f9
cmp r12d, 0xd0d7
je 0x18004b9e9
mov r10d, dword [rsp + 0x44]
cmp r12d, 0x104ce
jne 0x18004b5c2
mov dword [rsp + 0x68], r11d
mov qword [0x1800929d0], rdx
jmp 0x18004b5c2
mov r10d, 1
mov dword [rsp + 0x44], r10d
jmp 0x18004b5c2
mov dl, 9
mov byte [rsp + 0x40], dl
mov r10d, dword [rsp + 0x44]
jmp 0x18004b5c7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rax
jmp 0x18004b5bd
cmp r12d, 0x16cbc
je 0x18004bb3e
cmp r12d, 0x1a0b3
je 0x18004bad4
cmp r12d, 0x1d4aa
jne 0x18004b5bd
lea rdx, [0x180076edc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r15, rax
mov qword [rbp - 0x70], rax
test rax, rax
jne 0x18004b5b4
mov edi, 0x7d
cmp edi, 0x7d
je 0x18004ba7e
cmp edi, 0x135
je 0x18004bd17
mov ecx, dword [rsp + 0x4c]
jmp 0x18004bac1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov rbx, rax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9, rsi
mov r8, qword [0x1800929d0]
lea rdx, str.count_of_POLYMORPHIC_CODE_CACHE_TYPE
call fcn.18006f4c0
mov ecx, 1
mov dword [rsp + 0x4c], ecx
add edi, 0xb8
cmp edi, 0x1ed
jb 0x18004ba67
jmp 0x18004b5b8
mov rsi, qword [r14 + 8]
mov qword [rsp + 0x70], rsi
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
test eax, eax
je 0x18004b5b4
mov ebx, 0x15
nop dword [rax + rax]
mov eax, ebx
sub eax, 0x14
je 0x18004bd0f
cmp eax, 1
jne 0x18004bb32
lea ecx, [rax + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r9, rsi
mov r8, qword [0x1800929d0]
lea rdx, str.task_manager.end_process_enabled
call fcn.18006f4c0
dec ebx
cmp ebx, 0x13
ja 0x18004bb00
jmp 0x18004b5b4
mov ecx, dword [r9]
lea eax, [rcx - 1]
cmp eax, 2
ja 0x18004bc30
cmp ecx, 3
jne 0x18004bc1b
mov edi, 7
nop dword [rax + rax]
cmp edi, 7
je 0x18004bb7e
mov r10d, dword [rsp + 0x44]
cmp edi, 0xb7
jne 0x18004bbfe
dec dword [r9]
jmp 0x18004bbfe
add r14, 8
mov rax, qword [r14]
cmp byte [rax], 0x2d
jne 0x18004bba0
cmp byte [rax + 1], 0x6e
jne 0x18004bba0
cmp byte [rax + 2], 0
jne 0x18004bba0
mov r10d, r11d
mov dword [rsp + 0x44], r11d
jmp 0x18004bbfe
mov ebx, 0xed
cmp ebx, 0xed
je 0x18004bbbf
cmp ebx, 0x25f5
jne 0x18004bbe3
mov dword [rsp + 0x68], 1
jmp 0x18004bbe3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r9, qword [r14]
mov r8, qword [0x1800929d0]
lea rdx, str.line__g__g__g__g____g
call fcn.18006f4c0
add ebx, 0x2508
cmp ebx, 0x4a10
jbe 0x18004bba5
mov r9, qword [rsp + 0x78]
mov r10d, dword [rsp + 0x44]
xor r11d, r11d
add edi, 0xb0
cmp edi, 0x167
jb 0x18004bb60
mov qword [rbp - 0x60], r14
mov r8d, dword [rsp + 0x48]
jmp 0x18004bc20
mov r10d, dword [rsp + 0x44]
cmp dword [rsp + 0x68], 0
jne 0x18004bc38
mov ecx, dword [rsp + 0x4c]
jmp 0x18004b5c2
mov dword [rsp + 0x68], 1
mov ebx, 0x20
nop dword [rax]
mov eax, ebx
sub eax, 0x20
je 0x18004bc7d
sub eax, 1
je 0x18004bc57
cmp eax, 1
je 0x18004bd17
jmp 0x18004bc9e
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, str.6EJxDdzQp2Buz2db7YlpQ
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov ecx, 1
mov dword [rsp + 0x4c], ecx
jmp 0x18004bca2
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r8, qword [0x1800929d0]
lea rdx, str.err_fe_unable_to_create_target
call fcn.18006f4c0
mov ecx, dword [rsp + 0x4c]
inc ebx
cmp ebx, 0x23
jb 0x18004bc40
jmp 0x18004b5b8
mov ecx, dword [rsp + 0x4c]
jmp 0x18004b5c7
mov r14, qword [rbp]
mov rax, qword [rbp + 0x18]
cmp rax, 8
jb 0x18004c1e4
lea rdx, [rax*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x18004c1db
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004c1db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov dword [rsp + 0x4c], 1
mov rsi, qword [rbp + 0x10]
mov r14, qword [rbp]
mov r13, qword [rsp + 0x70]
mov edi, 0x75b7b
mov r12, qword [rbp - 0x80]
jmp 0x18004c1ab
movzx edx, byte [rsp + 0x40]
mov byte [rsp + 0x40], dl
mov r10d, dword [rsp + 0x58]
mov dword [rsp + 0x44], r10d
mov r12, qword [rsp + 0x60]
mov qword [rbp - 0x80], r12
mov edi, r8d
mov r14, qword [rbp]
imul eax, r8d, 0xaa0
cmp edi, eax
ja 0x18004bcbb
cmp edi, 0x44b1b
ja 0x18004bfd5
je 0x18004bfbc
cmp edi, 0x1d79b
ja 0x18004bf13
je 0x18004bea1
cmp edi, 0x64
je 0x18004be4c
cmp edi, 0xfb
je 0x18004be3f
cmp edi, 0x9ddb
je 0x18004be36
cmp edi, 0x13abb
jne 0x18004c1b5
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rax + r13], 0
jne 0x18004bdc0
cmp rax, 4
jbe 0x18004c1b5
lea rdx, [rax + r13]
mov rcx, r11
lea r9, [0x180078db8]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rcx - 3]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x18004be10
cmp rcx, 4
jne 0x18004bdf0
mov dl, 0x2c
mov byte [rsp + 0x40], dl
jmp 0x18004c1b5
mov rcx, r11
movzx eax, byte [rdx + rcx - 3]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x18004c1b0
cmp rcx, 4
jne 0x18004be13
mov dl, 9
mov byte [rsp + 0x40], dl
jmp 0x18004c1b5
mov qword [rbp - 0x48], r11
jmp 0x18004c1b5
mov qword [rbp - 0x58], r13
mov dword [rbp - 0x50], r11d
jmp 0x18004c1b5
lea rbx, [r9 + 0x28]
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call fcn.18005f3a0
xor ecx, ecx
test rsi, rsi
je 0x18004c1ab
mov r12, qword [rbp + 0x18]
nop dword [rax]
lea rax, [rbp]
cmp r12, 8
cmovae rax, r14
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18004be89
mov rdx, qword [rbx]
movzx eax, byte [rax + rcx*2]
mov byte [rdx + rcx], al
inc rcx
cmp rcx, rsi
jb 0x18004be70
mov r12, qword [rbp - 0x80]
jmp 0x18004c1ab
movsx ebx, dl
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r9d, ebx
mov r8, qword [0x1800929d0]
lea rdx, str.Thread__s_has_terminated.
call fcn.18006f4c0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x50], al
lea rax, [0x1800502f0]
mov qword [rsp + 0x60], rax
lea rax, [0x180050320]
mov qword [rbp - 0x68], rax
mov dword [rsp + 0x20], 0x5a
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x58]
call fcn.180067d00
mov r12, rax
mov qword [rbp - 0x80], rax
jmp 0x18004c1ab
cmp edi, 0x2747b
je 0x18004bf5d
cmp edi, 0x3115b
je 0x18004bf48
cmp edi, 0x3ae3b
jne 0x18004c1b5
lea r8, [0x180050350]
mov edx, 6
mov rcx, r12
call fcn.180069a90
jmp 0x18004c1ab
mov r8d, r10d
mov edx, 1
mov rcx, r12
call fcn.180069a90
jmp 0x18004c1ab
test r12, r12
jne 0x18004c1b5
mov ebx, ILFree
nop dword [rax + rax]
mov eax, ebx
sub eax, 0x98
je 0x18004bf84
cmp eax, 1
je 0x18004c103
jmp 0x18004bfad
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r8, qword [0x1800929d0]
lea rdx, str.get_SupportingDefinitionValue
call fcn.18006f4c0
mov dword [rsp + 0x4c], 1
inc ebx
cmp ebx, 0x9a
jb 0x18004bf70
jmp 0x18004c1ab
lea r8, [0x18004f920]
mov edx, 0xb
mov rcx, r12
call fcn.180069a90
jmp 0x18004c1ab
cmp edi, 0x75b7b
ja 0x18004c111
je 0x18004c0de
cmp edi, 0x4e7fb
je 0x18004c051
cmp edi, 0x584db
je 0x18004c0d4
cmp edi, 0x621bb
je 0x18004c043
cmp edi, 0x6be9b
jne 0x18004c1b5
mov r15, r11
mov qword [rsp + 0x60], r11
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x20], r11
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov ecx, 0x126
call fcn.180067ee0
jmp 0x18004c1ab
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x18004c1ab
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
jne 0x18004c1ab
mov ebx, 0x73
cmp ebx, 0x73
jne 0x18004c0ba
mov r9, r15
lea edx, [rbx - 0x72]
mov r8d, 0x400
lea rcx, [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov ecx, 0x126
call fcn.180067ee0
test eax, eax
jne 0x18004c0ca
add ebx, 0xbae
cmp ebx, 0xbae
jbe 0x18004c067
jmp 0x18004c051
movzx edx, byte [rsp + 0x40]
mov r8d, dword [rsp + 0x48]
mov edi, 0x584db
jmp 0x18004c1b5
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r9d, dword [rbp - 0x50]
mov r8, qword [0x1800929d0]
lea rdx, str.ASTC_SRGB_ALPHA_8x5
call fcn.18006f4c0
mov edi, 0x75b7b
mov r12, qword [rbp - 0x80]
jmp 0x18004c1ab
cmp edi, 0x7f85b
je 0x18004c17b
cmp edi, 0x8953b
je 0x18004c132
cmp edi, 0x9321b
je 0x18004bcbb
jmp 0x18004c1b5
test r15, r15
je 0x18004c175
mov ebx, 0x51
nop dword [rax]
mov eax, ebx
sub eax, 0x51
je 0x18004c151
cmp eax, 1
jne 0x18004c15a
mov r15, r11
jmp 0x18004c15a
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
inc ebx
cmp ebx, 0x53
mov r11d, 0
jb 0x18004c140
mov ecx, dword [rsp + 0x4c]
movzx edx, byte [rsp + 0x40]
mov r8d, dword [rsp + 0x48]
mov dword [rsp + 0x58], ecx
jmp 0x18004c1b5
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x18004c194
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movzx edx, byte [rsp + 0x40]
mov r8d, dword [rsp + 0x48]
test r12, r12
je 0x18004c1b5
xor r9d, r9d
mov r8, r12
xor edx, edx
mov ecx, 0xee
call fcn.180066830
mov r8d, dword [rsp + 0x48]
movzx edx, byte [rsp + 0x40]
lea eax, [r8 + r8*4]
shl eax, 5
add edi, eax
mov r9, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x4c]
mov r10d, dword [rsp + 0x44]
xor r11d, r11d
lea rbx, [0x180078dbc]
jmp 0x18004bd55
mov rcx, r14
call fcn.18006f72c
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x18004c227
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c222
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004c222
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18006f72c
mov eax, dword [rsp + 0x58]
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.18006fee0
mov rbx, qword [rsp + 0x5a0]
add rsp, 0x550
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18001e280
nop
int3