Function at 0x1400a6e80
Capabilities:
Read file on windows

Disassembly:
jmp 0x1400a6e80
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov rax, qword [0x14028c8d0]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0xc8], 8
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x5c], 0
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0xa0], 0
lea r8, [0x14022a4c8]
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x80]
call qword [sym.imp.MSVCR120D.dll__wfopen_s]
cmp qword [rsp + 0x80], 0
jne 0x1400a6f5c
xor eax, eax
jmp 0x1400a7421
mov r9, qword [rsp + 0x80]
mov r8d, 8
mov edx, 1
lea rcx, [rsp + 0xe8]
call qword [sym.imp.MSVCR120D.dll_fread]
mov r8d, 8
xor edx, edx
lea rcx, [rsp + 0xe8]
call fcn.140186310
test eax, eax
je 0x1400a6f9b
jmp 0x1400a7387
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x14022a570]
call fcn.1401874e0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400a6fc1
jmp 0x1400a7387
mov rax, qword [rsp + 0x48]
mov rcx, rax
mov rdx, rsp
call sub.MSVCR120D.dll__setjmp
test eax, eax
je 0x1400a6fda
jmp 0x1400a7387
mov rcx, qword [rsp + 0x48]
call fcn.1401864c0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400a6ff6
jmp 0x1400a7387
mov rcx, qword [rsp + 0x48]
call fcn.1401864c0
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x1400a7018
jmp 0x1400a7387
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call fcn.1401867f0
mov edx, 8
mov rcx, qword [rsp + 0x48]
call fcn.1401862a0
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.1401879d0
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.140198030
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
mov ecx, eax
call fcn.1401b0bb0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.1401980f0
mov dword [rsp + 0x74], eax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.140198120
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x21]
cmp eax, 3
jne 0x1400a70d0
mov rcx, qword [rsp + 0x48]
call fcn.14018bca0
mov rcx, qword [rsp + 0x48]
call fcn.14018a840
mov rcx, qword [rsp + 0x48]
call fcn.14018a640
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x110]
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140003edb
nop
mov rax, qword [rsp + 0x110]
cmp dword [rax + 0x38], 0
je 0x1400a7119
lea rcx, [rsp + 0xb0]
call fcn.1400053da
jmp 0x1400a7387
mov r8d, dword [rsp + 0x5c]
mov edx, dword [rsp + 0x74]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, qword [rsp + 0x110]
mov qword [rcx + 0x28], rax
lea rcx, [rsp + 0xb0]
call fcn.1400053da
mov ecx, 0x42c
call fcn.1401b0bb0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov r8d, 0x42c
xor edx, edx
mov rcx, qword [rsp + 0x50]
call sub.MSVCR120D.dll_memset
mov rax, qword [rsp + 0x50]
mov dword [rax], 0x2c
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x21]
shl eax, 3
mov rcx, qword [rsp + 0x50]
mov word [rcx + 0xe], ax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x74]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x5c]
mov dword [rax + 8], ecx
mov eax, 1
mov rcx, qword [rsp + 0x50]
mov word [rcx + 0xc], ax
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x10], 0
mov eax, dword [rsp + 0x70]
imul eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x21]
cmp eax, 1
jne 0x1400a72a5
mov rax, qword [rsp + 0x50]
add rax, 0x28
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x40], 0
jmp 0x1400a7211
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x100
jge 0x1400a7264
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
movzx edx, byte [rsp + 0x40]
mov byte [rcx + rax*4 + 2], dl
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
movzx edx, byte [rsp + 0x40]
mov byte [rcx + rax*4 + 1], dl
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
movzx edx, byte [rsp + 0x40]
mov byte [rcx + rax*4], dl
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
mov byte [rcx + rax*4 + 3], 0
jmp 0x1400a7207
mov eax, 4
imul rax, rax, 0x100
mov rcx, qword [rsp + 0x68]
mov byte [rcx + rax + 2], 0xff
mov eax, 4
imul rax, rax, 0x100
mov rcx, qword [rsp + 0x68]
mov byte [rcx + rax + 1], 0xff
mov eax, 4
imul rax, rax, 0x100
mov rcx, qword [rsp + 0x68]
mov byte [rcx + rax], 0xff
mov eax, dword [rsp + 0x5c]
dec eax
mov dword [rsp + 0x58], eax
jmp 0x1400a72bb
mov eax, dword [rsp + 0x58]
dec eax
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jl 0x1400a7370
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
call fcn.1401882a0
mov rax, qword [rsp + 0x110]
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.140003edb
nop
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, dword [rsp + 0x58]
mov rax, qword [rsp + 0x110]
mov rdx, qword [rax + 0x28]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.GDI32.dll_SetDIBits]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0
jne 0x1400a735e
lea rcx, [rsp + 0xa8]
call fcn.1400053da
jmp 0x1400a7387
lea rcx, [rsp + 0xa8]
call fcn.1400053da
jmp 0x1400a72b1
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.140188fd0
mov dword [rsp + 0x78], 1
cmp qword [rsp + 0x80], 0
je 0x1400a73a0
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCR120D.dll_fclose]
cmp qword [rsp + 0x48], 0
je 0x1400a73bf
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140189660
cmp qword [rsp + 0x88], 0
je 0x1400a73e7
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call sub.MSVCR120D.dll_void___cdecl_operator_delete___void____ptr64_
cmp qword [rsp + 0x50], 0
je 0x1400a7409
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call sub.MSVCR120D.dll_void___cdecl_operator_delete___void____ptr64_
cmp dword [rsp + 0x78], 0
jne 0x1400a741d
mov rcx, qword [rsp + 0x110]
call fcn.1400015af
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401b0dd0
add rsp, 0x108
ret