Function at 0x14006f920
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c8]
sub rsp, 0x2c8
mov rax, qword [0x140094940]
xor rax, rsp
mov qword [rbp + 0x1b8], rax
mov r14, qword [rbp + 0x230]
xor edi, edi
xor eax, eax
mov qword [rbp - 0x68], r8
mov r13, r8
mov qword [rsp + 0x78], rcx
mov r15, rdx
mov qword [rsp + 0x50], r14
mov r12, rcx
mov qword [rbp - 0x80], rdi
lea r8d, [rdi + 0x5c]
mov qword [rbp + 0x60], rax
xor edx, edx
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x80]
mov qword [rbp - 0x78], rdi
mov rsi, r9
mov qword [rsp + 0x70], rdi
mov ebx, edi
mov qword [rsp + 0x68], rdi
call sub.msvcrt.dll_memset
mov qword [rbp - 0x70], rdi
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14006f9d6
test byte [rcx + 0x1c], 2
je 0x14006f9d6
cmp byte [rcx + 0x19], 5
jb 0x14006f9d6
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0xb]
lea r8, [0x140084dc8]
call fcn.140001010
xor eax, eax
mov qword [rbp + 0x70], rdi
xor edx, edx
mov qword [rbp + 0x78], rdi
lea rcx, [rbp - 0x48]
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x58], eax
lea r8d, [rax + 0x24]
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [rbp - 0x20]
lea r8d, [rdx + 0x7c]
call sub.msvcrt.dll_memset
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov rcx, rsi
mov dword [rsp + 0x20], 3
lea r8d, [rax + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x60], rax
cmp rax, 0xffffffffffffffff
jne 0x14006fa85
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14006fa78
test byte [rcx + 0x1c], 2
je 0x14006fa78
cmp byte [rcx + 0x19], 2
jb 0x14006fa78
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0xd]
xor eax, eax
lea r8, [0x140084dc8]
mov r9, rsi
mov dword [rsp + 0x20], eax
call fcn.140001250
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14007071b
xor ecx, ecx
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
lea rdx, [rbp - 0x48]
lea r8d, [rcx + 0x24]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14006faf6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x1400706fd
test byte [rcx + 0x1c], 2
je 0x1400706fd
cmp byte [rcx + 0x19], 2
jb 0x1400706fd
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084dc8]
mov edx, 0xd
mov r9d, eax
call fcn.140001030
jmp 0x1400706fd
cmp dword [rsp + 0x40], 0x24
jne 0x14007065c
mov rax, qword [str.FAXCOVER_VER005w]
cmp rax, qword [rbp - 0x48]
jne 0x14007065c
mov rax, qword [0x1400977b8]
cmp rax, qword [rbp - 0x40]
jne 0x14007065c
mov eax, dword [0x1400977c0]
cmp eax, dword [rbp - 0x38]
jne 0x14007065c
mov ecx, dword [rbp - 0x34]
call qword [sym.imp.msvcrt.dll_malloc]
xor ecx, ecx
mov qword [rbp - 0x80], rax
test rax, rax
jne 0x14006fb93
lea r14d, [rax + 8]
mov ebx, r14d
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x1400706f8
test byte [rcx + 0x1c], 2
je 0x1400706f8
cmp byte [rcx + 0x19], 2
jb 0x1400706f8
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0xf]
mov r9d, r14d
lea r8, [0x140084dc8]
call fcn.140001030
jmp 0x1400706f8
mov r8d, dword [rbp - 0x34]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14007061f
mov eax, dword [rsp + 0x40]
cmp dword [rbp - 0x34], eax
jne 0x14007061f
mov r14d, 8
test r12, r12
je 0x14006ffce
mov rcx, r15
call qword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov qword [rbp - 0x70], rax
test rax, rax
jne 0x14006fc34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x1400706e6
test byte [rcx + 0x1c], 2
je 0x1400706e6
cmp byte [rcx + 0x19], 2
jb 0x1400706e6
lea edx, [r14 + 9]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084dc8]
call fcn.140001030
jmp 0x1400706e6
mov rdx, rax
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectClipRgn]
test eax, eax
jne 0x14006fc7a
lea ebx, [rax + 0x1f]
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x1400706e6
test byte [rcx + 0x1c], 2
je 0x1400706e6
cmp byte [rcx + 0x19], 2
jb 0x1400706e6
lea edx, [rax + 0x12]
xor r9d, r9d
jmp 0x14006fc1f
mov rcx, r12
call qword [sym.imp.GDI32.dll_SaveDC]
mov dword [rsp + 0x58], eax
test eax, eax
jne 0x14006fcc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x1400706e6
test byte [rcx + 0x1c], 2
je 0x1400706e6
cmp byte [rcx + 0x19], 2
jb 0x1400706e6
mov edx, 0x13
jmp 0x14006fc1c
mov ecx, dword [rbp - 0x34]
test ecx, ecx
jne 0x14006fd15
lea ebx, [rcx + 0x12]
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x1400706e6
test byte [rcx + 0x1c], 2
je 0x1400706e6
cmp byte [rcx + 0x19], 2
jb 0x1400706e6
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 2]
lea r8, [0x140084dc8]
call fcn.140001010
jmp 0x1400706e6
mov rdx, qword [rbp - 0x80]
call qword [sym.imp.GDI32.dll_SetEnhMetaFileBits]
mov qword [rbp - 0x78], rax
mov rsi, rax
test rax, rax
jne 0x14006fd66
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x1400706e6
test byte [rcx + 0x1c], 2
je 0x1400706e6
cmp byte [rcx + 0x19], 2
jb 0x1400706e6
lea edx, [rsi + 0x15]
jmp 0x14006fc1c
lea r8, [rbp + 0x140]
mov edx, 0x6c
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
test eax, eax
jne 0x14006fdbf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14007069c
test byte [rcx + 0x1c], 2
je 0x14007069c
cmp byte [rcx + 0x19], 2
jb 0x14007069c
mov edx, 0x16
mov r9d, eax
jmp 0x14007068c
mov r8, r15
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.GDI32.dll_PlayEnhMetaFile]
test eax, eax
jne 0x14006fe0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14007069c
test byte [rcx + 0x1c], 2
je 0x14007069c
cmp byte [rcx + 0x19], 2
jb 0x14007069c
mov edx, 0x17
jmp 0x14006fdb7
xor edx, edx
mov rcx, r12
call qword [sym.imp.GDI32.dll_RestoreDC]
mov edx, 1
mov rcx, r12
call qword [sym.imp.GDI32.dll_SetBkMode]
cmp eax, 0xffffffff
jne 0x14006fe67
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14007069c
test byte [rcx + 0x1c], 2
je 0x14007069c
cmp byte [rcx + 0x19], 2
jb 0x14007069c
mov edx, 0x18
jmp 0x14006fdb7
mov edx, r14d
mov rcx, r12
call qword [sym.imp.GDI32.dll_SetMapMode]
test eax, eax
jne 0x14006feb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14007069c
test byte [rcx + 0x1c], 2
je 0x14007069c
cmp byte [rcx + 0x19], 2
jb 0x14007069c
mov edx, 0x19
jmp 0x14006fdb7
mov r8d, dword [rbp - 0x28]
lea r9, [rbp - 0x60]
mov edx, dword [rbp - 0x2c]
neg r8d
mov rcx, r12
call qword [sym.imp.GDI32.dll_SetWindowExtEx]
test eax, eax
jne 0x14006ff0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14007069c
test byte [rcx + 0x1c], 2
je 0x14007069c
cmp byte [rcx + 0x19], 2
jb 0x14007069c
mov edx, 0x1a
jmp 0x14006fdb7
mov r8d, dword [r15 + 0xc]
lea r9, [rbp - 0x58]
mov edx, dword [r15 + 8]
mov rcx, r12
sub r8d, dword [r15 + 4]
sub edx, dword [r15]
call qword [sym.imp.GDI32.dll_SetViewportExtEx]
test eax, eax
jne 0x14006ff69
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14007069c
test byte [rcx + 0x1c], 2
je 0x14007069c
cmp byte [rcx + 0x19], 2
jb 0x14007069c
mov edx, 0x1b
jmp 0x14006fdb7
mov eax, dword [rbp - 0x28]
lea r9, [rbp - 0x50]
cdq
mov rcx, r12
sub eax, edx
sar eax, 1
mov r8d, eax
mov eax, dword [rbp - 0x2c]
cdq
sub eax, edx
sar eax, 1
neg eax
mov edx, eax
call qword [sym.imp.GDI32.dll_SetWindowOrgEx]
test eax, eax
jne 0x14006ffce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14007069c
test byte [rcx + 0x1c], 2
je 0x14007069c
cmp byte [rcx + 0x19], 2
jb 0x14007069c
mov edx, 0x1c
jmp 0x14006fdb7
mov ecx, 0x40
call qword [sym.imp.msvcrt.dll_malloc]
mov qword [rsp + 0x70], rax
mov r15, rax
test rax, rax
jne 0x14007001f
mov ebx, r14d
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14007069c
test byte [rcx + 0x1c], 2
je 0x14007069c
cmp byte [rcx + 0x19], 2
jb 0x14007069c
lea edx, [rax + 0x1d]
mov r9d, r14d
jmp 0x14007068c
mov esi, edi
mov dword [rsp + 0x44], edi
cmp dword [rbp - 0x30], edi
jle 0x140070313
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x40]
mov r8d, 0x7c
mov qword [rsp + 0x20], rdi
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400705ce
cmp dword [rsp + 0x40], 0x7c
jne 0x1400705ce
mov r8d, dword [rbp + 0x58]
lea edi, [r8*2 + 2]
cmp edi, 0x40
jle 0x140070092
movsxd rdx, edi
mov rcx, r15
call qword [sym.imp.msvcrt.dll_realloc]
test rax, rax
je 0x140070383
mov r8d, dword [rbp + 0x58]
mov r15, rax
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x40]
xor edi, edi
mov rdx, r15
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140070594
mov eax, dword [rbp + 0x58]
cmp dword [rsp + 0x40], eax
jne 0x140070594
shr rax, 1
xor esi, esi
mov word [r15 + rax*2], di
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x1400700e4
mov rcx, rdi
call fcn.140062654
mov edi, esi
mov qword [rsp + 0x68], rsi
test r15, r15
je 0x140070102
mov rcx, r15
call fcn.1400633d4
mov qword [rsp + 0x68], rax
mov rdi, rax
test rax, rax
je 0x1400703d0
test r12, r12
je 0x140070143
mov r9d, dword [rbp - 0x14]
mov eax, r9d
mov edx, dword [rbp - 0x1c]
cmp edx, r9d
mov r8d, dword [rbp - 0x18]
mov ecx, dword [rbp - 0x20]
cmovg eax, edx
cmp ecx, r8d
mov dword [rbp + 0x64], eax
mov eax, r8d
cmovl eax, ecx
cmp edx, r9d
mov dword [rbp + 0x60], eax
cmovl r9d, edx
cmp ecx, r8d
mov dword [rbp + 0x6c], r9d
cmovg r8d, ecx
mov dword [rbp + 0x68], r8d
movzx r8d, word [rbp + 0x54]
xor ecx, ecx
test r8w, r8w
je 0x140070201
mov eax, esi
lea edx, [rcx + 1]
lea r9, [0x140084d88]
cmp r8w, word [r9 + rcx*2]
je 0x140070175
inc eax
inc rcx
add edx, edx
cmp eax, 0x1d
jb 0x140070159
jmp 0x140070193
test r13, r13
je 0x14007018f
shl rcx, 3
lea rax, [r13 + 8]
add rax, rcx
test r13, r13
cmove rax, rcx
mov rsi, qword [rax]
or dword [rsp + 0x48], edx
mov eax, 0x80f
xor ecx, ecx
cmp r8w, ax
jne 0x140070201
test r12, r12
je 0x140070201
movaps xmm0, xmmword [rbp + 0x60]
lea r8d, [rcx + 2]
mov rcx, r12
movdqa xmmword [rbp + 0x70], xmm0
lea rdx, [rbp + 0x70]
call qword [sym.imp.GDI32.dll_LPtoDP]
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 8]
call fcn.14006f744
mov ebx, eax
xor eax, eax
test ebx, ebx
jne 0x140070411
lea edx, [rax + 0x5a]
mov rcx, r12
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, dword [rbp + 0x80]
lea r8d, [rbx + 0x64]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rbp + 0x80], eax
xor ecx, ecx
cmp word [rdi], cx
cmovne rsi, rdi
xor edi, edi
test r12, r12
je 0x140070300
test rsi, rsi
je 0x140070300
mov edx, dword [rbp - 0x10]
mov rcx, r12
call qword [sym.imp.GDI32.dll_SetTextColor]
mov r13d, eax
cmp eax, 0xffffffff
je 0x140070557
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 8]
call fcn.14006f744
mov ebx, eax
test eax, eax
jne 0x140070522
lea rcx, [rbp + 0xe0]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov rdi, rax
test rax, rax
je 0x1400704e5
mov rdx, rax
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov r12, rax
xor eax, eax
test r12, r12
je 0x1400704a8
mov r15d, eax
cmp word [rbp + 0x54], ax
je 0x1400702a2
mov rdx, rsi
mov ecx, 0x800
call fcn.1400685e4
test eax, eax
mov ecx, 0x20000
cmovne r15d, ecx
mov eax, dword [rbp - 0xc]
lea r9, [rbp + 0x60]
mov rcx, qword [rsp + 0x78]
or eax, r15d
or eax, 0x810
or r8d, 0xffffffff
mov rdx, rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_DrawTextW]
test eax, eax
je 0x14007044d
mov rdx, r12
mov r12, qword [rsp + 0x78]
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, r13d
mov rcx, r12
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r13, qword [rbp - 0x68]
xor edi, edi
mov r15, qword [rsp + 0x70]
mov esi, dword [rsp + 0x44]
inc esi
mov dword [rsp + 0x44], esi
cmp esi, dword [rbp - 0x30]
jl 0x14007002e
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x40]
mov r8d, 6
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140070346
cmp dword [rsp + 0x40], 6
je 0x14007069c
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14007069c
test byte [rcx + 0x1c], 2
je 0x14007069c
cmp byte [rcx + 0x19], 2
jb 0x14007069c
mov edx, 0x2b
jmp 0x14006fdb7
mov ebx, r14d
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x1400703c6
test byte [rcx + 0x1c], 2
je 0x1400703c6
cmp byte [rcx + 0x19], 2
jb 0x1400703c6
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084dc8]
mov edx, 0x1f
mov dword [rsp + 0x28], r14d
mov r9d, esi
mov dword [rsp + 0x20], edi
call fcn.14002b018
xor eax, eax
mov rdi, rax
jmp 0x14007069c
mov ebx, r14d
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14007040a
test byte [rcx + 0x1c], 2
je 0x14007040a
cmp byte [rcx + 0x19], 2
jb 0x14007040a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084dc8]
mov edx, 0x21
mov r9d, r14d
call fcn.140001030
xor edi, edi
jmp 0x14007069c
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x1400703c8
test byte [rcx + 0x1c], 2
je 0x1400703c8
cmp byte [rcx + 0x19], 2
jb 0x1400703c8
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084dc8]
mov edx, 0x22
mov r9d, ebx
call fcn.140001030
jmp 0x1400703c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14007069c
test byte [rcx + 0x1c], 2
je 0x14007069c
cmp byte [rcx + 0x19], 2
jb 0x14007069c
mov r9d, dword [rsp + 0x44]
lea r8, [0x140084dc8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x2a
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
call fcn.14002b188
jmp 0x14007069c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14007069c
test byte [rcx + 0x1c], 2
je 0x14007069c
cmp byte [rcx + 0x19], 2
jb 0x14007069c
mov edx, 0x26
jmp 0x14006fdb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14007069c
test byte [rcx + 0x1c], 2
je 0x14007069c
cmp byte [rcx + 0x19], 2
jb 0x14007069c
mov edx, 0x25
jmp 0x14006fdb7
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14007069c
test byte [rcx + 0x1c], 2
je 0x14007069c
cmp byte [rcx + 0x19], 2
jb 0x14007069c
mov edx, 0x24
jmp 0x14006fdb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14007069c
test byte [rcx + 0x1c], 2
je 0x14007069c
cmp byte [rcx + 0x19], 2
jb 0x14007069c
mov edx, 0x23
jmp 0x14006fdb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14007069c
test byte [rcx + 0x1c], 2
je 0x14007069c
cmp byte [rcx + 0x19], 2
jb 0x14007069c
mov edx, 0x20
jmp 0x140070606
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14007069c
test byte [rcx + 0x1c], 2
je 0x14007069c
cmp byte [rcx + 0x19], 2
jb 0x14007069c
mov edx, 0x1e
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084dc8]
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.1400011ac
jmp 0x14007069c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x1400706e6
test byte [rcx + 0x1c], 2
je 0x1400706e6
cmp byte [rcx + 0x19], 2
jb 0x1400706e6
mov edx, 0x10
jmp 0x14006fc1c
mov r9d, 0xb
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x1400706fd
test byte [rcx + 0x1c], 2
je 0x1400706fd
cmp byte [rcx + 0x19], 2
jb 0x1400706fd
lea edx, [r9 + 3]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084dc8]
call fcn.140001030
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x1400706ae
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1400706c0
mov rcx, rax
call fcn.140062654
test rdi, rdi
je 0x1400706ce
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1400706e1
mov rcx, rax
call qword [sym.imp.msvcrt.dll_free]
mov r12, qword [rsp + 0x78]
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x1400706f8
mov rcx, rax
call qword [sym.imp.msvcrt.dll_free]
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x14007071b
mov edx, eax
mov rcx, r12
call qword [sym.imp.GDI32.dll_RestoreDC]
test ebx, ebx
jne 0x1400707a5
test r14, r14
je 0x1400707a5
mov eax, dword [rsp + 0x48]
movaps xmm0, xmmword [rbp + 0x70]
movaps xmm1, xmmword [rbp + 0x90]
movdqu xmmword [r14 + 4], xmm0
mov dword [r14], eax
movzx eax, word [rbp + 0x1b2]
movaps xmm0, xmmword [rbp + 0x80]
movups xmmword [r14 + 0x18], xmm0
mov word [r14 + 0x16], ax
movaps xmm0, xmmword [rbp + 0xa0]
movzx eax, word [rbp + 0x1b4]
movups xmmword [r14 + 0x28], xmm1
mov word [r14 + 0x14], ax
movaps xmm1, xmmword [rbp + 0xb0]
mov eax, dword [rbp + 0xd8]
movups xmmword [r14 + 0x38], xmm0
movaps xmm0, xmmword [rbp + 0xc0]
movups xmmword [r14 + 0x48], xmm1
movsd xmm1, qword [rbp + 0xd0]
movups xmmword [r14 + 0x58], xmm0
movsd qword [r14 + 0x68], xmm1
mov dword [r14 + 0x70], eax
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x1400707b7
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
mov eax, ebx
mov rcx, qword [rbp + 0x1b8]
xor rcx, rsp
call fcn.140077900
add rsp, 0x2c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret