Function at 0x18011d3b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov rax, qword [0x180141030]
xor rax, rsp
mov qword [rsp + 0x138], rax
lea r8, str..bmp
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0xc8]
call fcn.18011cd50
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x150]
add rax, 0x20
mov rdx, qword [rsp + 0xc0]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0xc8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, qword [rsp + 0x150]
add rax, 0x20
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
lea rdx, [0x180126bec]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x18011d4e3
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov rax, qword [rsp + 0x150]
mov r8, qword [rax + 0x20]
lea rdx, [0x180126bf8]
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
xor r9d, r9d
lea r8, [0x180126c10]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov dword [rsp + 0x60], 0
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, dword [rsp + 0x60]
jmp 0x18011dbf5
mov r9, qword [rsp + 0x40]
mov r8d, 1
mov edx, 0xe
lea rcx, [rsp + 0x128]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
movzx eax, word [rsp + 0x128]
cmp eax, 0x4d42
je 0x18011d58d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov rax, qword [rsp + 0x150]
mov r8, qword [rax + 0x20]
lea rdx, [0x180126c18]
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
xor r9d, r9d
lea r8, [0x180126c38]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, dword [rsp + 0x64]
jmp 0x18011dbf5
mov r9, qword [rsp + 0x40]
mov r8d, 1
mov edx, 0x28
lea rcx, [rsp + 0x100]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov eax, dword [rsp + 0x100]
cmp rax, 0x28
je 0x18011d635
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov rax, qword [rsp + 0x150]
mov r8, qword [rax + 0x20]
lea rdx, [0x180126c40]
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
xor r9d, r9d
lea r8, [0x180126c60]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov dword [rsp + 0x68], 0
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, dword [rsp + 0x68]
jmp 0x18011dbf5
mov rax, qword [rsp + 0x150]
mov ecx, dword [rsp + 0x104]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x150]
mov ecx, dword [rsp + 0x108]
mov dword [rax + 0xc], ecx
movzx eax, word [rsp + 0x10e]
cmp eax, 0x18
je 0x18011d6e3
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov rax, qword [rsp + 0x150]
mov r8, qword [rax + 0x20]
lea rdx, [0x180126c68]
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
xor r9d, r9d
lea r8, [0x180126c88]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov dword [rsp + 0x6c], 0
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, dword [rsp + 0x6c]
jmp 0x18011dbf5
movzx eax, word [rsp + 0x10e]
mov rcx, qword [rsp + 0x150]
mov ecx, dword [rcx + 8]
imul ecx, eax
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
shl eax, 2
mov rcx, qword [rsp + 0x150]
imul eax, dword [rcx + 0xc]
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x38]
mov rcx, rax
call fcn.18011e910
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x48], rax
movsxd rax, dword [rsp + 0x38]
mov r9, qword [rsp + 0x40]
mov r8, rax
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov dword [rsp + 0x70], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x70], eax
je 0x18011d7ed
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov rax, qword [rsp + 0x150]
mov r8, qword [rax + 0x20]
lea rdx, [0x180126c90]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
xor r9d, r9d
lea r8, [0x180126cb0]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov dword [rsp + 0x74], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, dword [rsp + 0x74]
jmp 0x18011dbf5
mov rax, qword [rsp + 0x150]
movsxd rax, dword [rax + 0xc]
mov qword [rsp + 0xd8], rax
mov eax, 8
mov rcx, qword [rsp + 0xd8]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.18011e910
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0xe0]
mov qword [rax + 0x10], rcx
mov dword [rsp + 0x30], 0
jmp 0x18011d854
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x150]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x30], eax
jge 0x18011d94b
mov rax, qword [rsp + 0x150]
movsxd rax, dword [rax + 8]
mov qword [rsp + 0xa8], rax
mov eax, 0x28
mul qword [rsp + 0xa8]
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
add rax, 8
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call fcn.18011e910
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x18011d90d
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xa8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x50]
add rax, 8
lea rcx, [fcn.180107c60]
mov qword [rsp + 0x20], rcx
lea r9, [fcn.1801076d0]
mov r8, qword [rsp + 0xa8]
mov edx, 0x28
mov rcx, rax
call fcn.18011e604
mov rax, qword [rsp + 0x50]
add rax, 8
mov qword [rsp + 0xb0], rax
jmp 0x18011d919
mov qword [rsp + 0xb0], 0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xe8], rax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x150]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rsp + 0xe8]
mov qword [rcx + rax*8], rdx
jmp 0x18011d84a
mov rax, qword [rsp + 0x150]
mov eax, dword [rax + 0xc]
dec eax
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x150]
mov eax, dword [rax + 8]
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x30], 0
jmp 0x18011d993
mov eax, dword [rsp + 0x30]
add eax, 3
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x30], eax
jge 0x18011da66
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x150]
mov rcx, qword [rcx + 0x10]
movsxd rdx, dword [rsp + 0x34]
imul rdx, rdx, 0x28
add rdx, qword [rcx + rax*8]
mov rax, rdx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov dword [rax], 1
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x48]
movzx eax, byte [rdx + rax]
mov byte [rcx + 6], al
mov eax, dword [rsp + 0x30]
inc eax
cdqe
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x48]
movzx eax, byte [rdx + rax]
mov byte [rcx + 5], al
mov eax, dword [rsp + 0x30]
add eax, 2
cdqe
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x48]
movzx eax, byte [rdx + rax]
mov byte [rcx + 4], al
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x150]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x34], eax
jl 0x18011da61
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x34], 0
cmp dword [rsp + 0x3c], 0
jge 0x18011da61
jmp 0x18011da66
jmp 0x18011d988
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0xf0]
call fcn.18011e500
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x150]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rsp + 0x150]
mov edx, dword [rdx + 8]
dec edx
movsxd rdx, edx
imul rdx, rdx, 0x28
add rdx, qword [rcx + rax]
mov rax, rdx
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x150]
mov rdx, qword [rdx + 0x10]
mov r8d, 0x28
imul r8, r8, 0
add r8, qword [rdx + rcx]
mov rcx, r8
mov rdx, rax
call fcn.180107de0
movzx eax, al
test eax, eax
je 0x18011dbf0
mov rax, qword [rsp + 0x150]
mov eax, dword [rax + 0xc]
dec eax
cdqe
mov rcx, qword [rsp + 0x150]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rsp + 0x150]
mov edx, dword [rdx + 8]
dec edx
movsxd rdx, edx
imul rdx, rdx, 0x28
add rdx, qword [rcx + rax*8]
mov rax, rdx
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x150]
mov rdx, qword [rdx + 0x10]
mov r8d, 0x28
imul r8, r8, 0
add r8, qword [rdx + rcx]
mov rcx, r8
mov rdx, rax
call fcn.180107de0
movzx eax, al
test eax, eax
je 0x18011dbf0
mov rax, qword [rsp + 0x150]
mov eax, dword [rax + 0xc]
dec eax
cdqe
mov rcx, qword [rsp + 0x150]
mov rcx, qword [rcx + 0x10]
mov edx, 0x28
imul rdx, rdx, 0
add rdx, qword [rcx + rax*8]
mov rax, rdx
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x150]
mov rdx, qword [rdx + 0x10]
mov r8d, 0x28
imul r8, r8, 0
add r8, qword [rdx + rcx]
mov rcx, r8
mov rdx, rax
call fcn.180107de0
movzx eax, al
test eax, eax
je 0x18011dbf0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x150]
mov rcx, qword [rcx + 0x10]
mov edx, 0x28
imul rdx, rdx, 0
add rdx, qword [rcx + rax]
mov rax, rdx
mov rcx, rax
call fcn.180107fc0
mov rcx, qword [rsp + 0x150]
mov dword [rcx + 0x18], eax
mov eax, 1
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.18011e040
add rsp, 0x148
ret