Function at 0x140080288
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 - 0x1d8]
sub rsp, 0x2d8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1c8], rax
mov rsi, qword [rbp + 0x240]
mov r15, rcx
mov qword [rsp + 0x60], rcx
xor ecx, ecx
mov r12, r8
mov qword [rbp - 0x60], r8
lea r8d, [rcx + 0x58]
mov qword [rbp - 0x80], rcx
mov ebx, ecx
mov qword [rbp + 0x70], rcx
mov qword [rbp - 0x78], rcx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x70], rcx
mov r13d, ecx
mov qword [rbp - 0x68], rcx
mov dword [rbp + 0x90], ecx
mov r14, rdx
xor eax, eax
lea rcx, [rbp + 0x94]
xor edx, edx
mov rdi, r9
mov qword [rsp + 0x58], rsi
mov qword [rbp + 0x78], rax
call sub.msvcrt.dll_memset
xor eax, eax
mov qword [rbp - 0x70], rax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14008034f
test byte [rcx + 0x1c], 2
je 0x14008034f
cmp byte [rcx + 0x19], 5
jb 0x14008034f
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0xb]
lea r8, [0x140006380]
call fcn.14000e618
xor eax, eax
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x88], rbx
mov dword [rsp + 0x54], eax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x68], eax
test r12, r12
je 0x140080378
lea rax, [r12 + 8]
mov qword [rbp - 0x68], rax
xor edx, edx
lea rcx, [rbp - 0x40]
lea r8d, [rdx + 0x24]
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [rbp - 0x10]
lea r8d, [rdx + 0x7c]
call sub.msvcrt.dll_memset
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea r8d, [rax + 1]
mov edx, 0x80000000
mov rcx, rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
jne 0x14008041c
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14008040f
test byte [rcx + 0x1c], 2
je 0x14008040f
cmp byte [rcx + 0x19], 2
jb 0x14008040f
mov rcx, qword [rcx + 0x10]
lea edx, [r12 + 0xd]
xor r12d, r12d
lea r8, [0x140006380]
mov r9, rdi
mov dword [rsp + 0x20], r12d
call fcn.14000e8e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140080def
xor edi, edi
lea r9, [rsp + 0x50]
lea rdx, [rbp - 0x40]
lea r8d, [rdi + 0x24]
mov rcx, rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14008048b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140080dd3
test byte [rcx + 0x1c], 2
je 0x140080dd3
cmp byte [rcx + 0x19], 2
jb 0x140080dd3
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0xd]
lea r8, [0x140006380]
mov r9d, ebx
call fcn.14000e63c
jmp 0x140080dd3
cmp dword [rsp + 0x50], 0x24
jne 0x1400811cb
mov rax, qword [str.FAXCOVER_VER005w]
cmp rax, qword [rbp - 0x40]
jne 0x1400811cb
mov rax, qword [0x1400996b8]
cmp rax, qword [rbp - 0x38]
jne 0x1400811cb
mov eax, dword [0x1400996c0]
cmp eax, dword [rbp - 0x30]
jne 0x1400811cb
mov ecx, dword [rbp - 0x2c]
call qword [sym.imp.msvcrt.dll_malloc]
xor esi, esi
mov rdi, rax
mov qword [rbp - 0x80], rax
test rax, rax
jne 0x140080529
lea esi, [rax + 8]
mov ebx, esi
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140080dce
test byte [rcx + 0x1c], 2
je 0x140080dce
cmp byte [rcx + 0x19], 2
jb 0x140080dce
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0xf]
lea r8, [0x140006380]
mov r9d, esi
call fcn.14000e63c
jmp 0x140080dce
mov r8d, dword [rbp - 0x2c]
lea r9, [rsp + 0x50]
mov rdx, rax
mov rcx, r12
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14008118e
mov eax, dword [rsp + 0x50]
cmp dword [rbp - 0x2c], eax
jne 0x14008118e
mov esi, 8
test r15, r15
je 0x14008095b
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov qword [rbp - 0x70], rax
test rax, rax
jne 0x1400805c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140080dbc
test byte [rcx + 0x1c], 2
je 0x140080dbc
cmp byte [rcx + 0x19], 2
jb 0x140080dbc
lea edx, [rsi + 9]
mov r9d, ebx
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006380]
call fcn.14000e63c
jmp 0x140080dbc
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectClipRgn]
test eax, eax
jne 0x14008060c
lea ebx, [rax + 0x1f]
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140080dbc
test byte [rcx + 0x1c], 2
je 0x140080dbc
cmp byte [rcx + 0x19], 2
jb 0x140080dbc
lea edx, [rbx - 0xd]
xor r9d, r9d
jmp 0x1400805b1
mov rcx, r15
call qword [sym.imp.GDI32.dll_SaveDC]
mov dword [rsp + 0x68], eax
test eax, eax
jne 0x14008065a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140080dbc
test byte [rcx + 0x1c], 2
je 0x140080dbc
cmp byte [rcx + 0x19], 2
jb 0x140080dbc
mov edx, 0x13
jmp 0x1400805ae
mov ecx, dword [rbp - 0x2c]
test ecx, ecx
jne 0x1400806a7
lea ebx, [rcx + 0x12]
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140080dbc
test byte [rcx + 0x1c], 2
je 0x140080dbc
cmp byte [rcx + 0x19], 2
jb 0x140080dbc
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 2]
lea r8, [0x140006380]
call fcn.14000e618
jmp 0x140080dbc
mov rdx, rdi
call qword [sym.imp.GDI32.dll_SetEnhMetaFileBits]
mov rdi, rax
mov qword [rbp - 0x78], rax
test rax, rax
jne 0x1400806f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140080dbc
test byte [rcx + 0x1c], 2
je 0x140080dbc
cmp byte [rcx + 0x19], 2
jb 0x140080dbc
lea edx, [rdi + 0x15]
jmp 0x1400805ae
lea r8, [rbp + 0x150]
mov edx, 0x6c
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
test eax, eax
jne 0x140080759
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14008074f
test byte [rcx + 0x1c], 2
je 0x14008074f
cmp byte [rcx + 0x19], 2
jb 0x14008074f
mov edx, 0x16
mov r9d, ebx
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006380]
call fcn.14000e63c
mov rdi, qword [rsp + 0x40]
jmp 0x140080d72
mov r8, r14
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.GDI32.dll_PlayEnhMetaFile]
xor edi, edi
test eax, eax
jne 0x14008079a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14008074f
test byte [rcx + 0x1c], 2
je 0x14008074f
cmp byte [rcx + 0x19], 2
jb 0x14008074f
lea edx, [rdi + 0x17]
jmp 0x14008073c
xor edx, edx
mov rcx, r15
call qword [sym.imp.GDI32.dll_RestoreDC]
mov edx, 1
mov rcx, r15
call qword [sym.imp.GDI32.dll_SetBkMode]
cmp eax, 0xffffffff
jne 0x1400807f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14008074f
test byte [rcx + 0x1c], 2
je 0x14008074f
cmp byte [rcx + 0x19], 2
jb 0x14008074f
mov edx, 0x18
jmp 0x14008073c
mov edx, esi
mov rcx, r15
call qword [sym.imp.GDI32.dll_SetMapMode]
test eax, eax
jne 0x140080841
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14008074f
test byte [rcx + 0x1c], 2
je 0x14008074f
cmp byte [rcx + 0x19], 2
jb 0x14008074f
mov edx, 0x19
jmp 0x14008073c
mov r8d, dword [rbp - 0x20]
mov edx, dword [rbp - 0x24]
lea r9, [rbp - 0x48]
neg r8d
mov rcx, r15
call qword [sym.imp.GDI32.dll_SetWindowExtEx]
test eax, eax
jne 0x140080899
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14008074f
test byte [rcx + 0x1c], 2
je 0x14008074f
cmp byte [rcx + 0x19], 2
jb 0x14008074f
mov edx, 0x1a
jmp 0x14008073c
mov r8d, dword [r14 + 0xc]
mov edx, dword [r14 + 8]
lea r9, [rbp - 0x50]
sub r8d, dword [r14 + 4]
sub edx, dword [r14]
mov rcx, r15
call qword [sym.imp.GDI32.dll_SetViewportExtEx]
test eax, eax
jne 0x1400808f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14008074f
test byte [rcx + 0x1c], 2
je 0x14008074f
cmp byte [rcx + 0x19], 2
jb 0x14008074f
mov edx, 0x1b
jmp 0x14008073c
mov eax, dword [rbp - 0x20]
lea r9, [rbp - 0x58]
mov rcx, r15
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov eax, dword [rbp - 0x24]
cdq
sub eax, edx
sar eax, 1
neg eax
mov edx, eax
call qword [sym.imp.GDI32.dll_SetWindowOrgEx]
test eax, eax
jne 0x14008095d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14008074f
test byte [rcx + 0x1c], 2
je 0x14008074f
cmp byte [rcx + 0x19], 2
jb 0x14008074f
mov edx, 0x1c
jmp 0x14008073c
xor edi, edi
mov ecx, 0x40
call qword [sym.imp.msvcrt.dll_malloc]
mov r14, rax
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x1400809ae
mov ebx, esi
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14008074f
test byte [rcx + 0x1c], 2
je 0x14008074f
cmp byte [rcx + 0x19], 2
jb 0x14008074f
lea edx, [r14 + 0x1d]
mov r9d, esi
jmp 0x14008073f
mov r12d, edi
cmp dword [rbp - 0x28], edi
jle 0x140080cb6
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x50]
lea rdx, [rbp - 0x10]
mov r8d, 0x7c
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140081154
cmp dword [rsp + 0x50], 0x7c
jne 0x140081154
mov r8d, dword [rbp + 0x68]
lea edi, [r8*2 + 2]
cmp edi, 0x40
jle 0x140080a1e
movsxd rdx, edi
mov rcx, r14
call qword [sym.imp.msvcrt.dll_realloc]
test rax, rax
je 0x140080d27
mov r8d, dword [rbp + 0x68]
mov r14, rax
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x48]
xor eax, eax
lea r9, [rsp + 0x50]
mov rdx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
xor r10d, r10d
test eax, eax
je 0x140081100
mov eax, dword [rbp + 0x68]
cmp dword [rsp + 0x50], eax
jne 0x140081100
mov rdi, qword [rsp + 0x70]
shr rax, 1
mov word [r14 + rax*2], r10w
test rdi, rdi
je 0x140080a75
mov rcx, rdi
call fcn.140072328
xor r10d, r10d
mov edi, r10d
mov qword [rsp + 0x70], r10
test r14, r14
je 0x140080a96
mov rcx, r14
call fcn.1400730d0
xor r10d, r10d
mov rdi, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140080f2e
test r15, r15
je 0x140080ad7
mov r9d, dword [rbp - 4]
mov edx, dword [rbp - 0xc]
mov r8d, dword [rbp - 8]
mov ecx, dword [rbp - 0x10]
cmp edx, r9d
mov eax, r9d
cmovg eax, edx
cmp ecx, r8d
mov dword [rbp + 0x74], eax
mov eax, r8d
cmovl eax, ecx
cmp edx, r9d
cmovl r9d, edx
cmp ecx, r8d
mov dword [rbp + 0x70], eax
cmovg r8d, ecx
mov dword [rbp + 0x7c], r9d
mov dword [rbp + 0x78], r8d
movzx r9d, word [rbp + 0x64]
test r9w, r9w
je 0x140080b9e
mov edx, r10d
mov rcx, r10
mov r8d, 1
lea rax, [0x140006340]
cmp r9w, word [rax + rcx*2]
je 0x140080b13
inc edx
inc rcx
add r8d, r8d
movsxd rax, edx
cmp rax, 0x1d
jb 0x140080af2
jmp 0x140080b2b
cmp qword [rbp - 0x60], r10
je 0x140080b23
mov rax, qword [rbp - 0x68]
mov r13, qword [rax + rcx*8]
jmp 0x140080b26
mov r13, r10
or dword [rsp + 0x54], r8d
mov eax, 0x80f
cmp r9w, ax
jne 0x140080b9e
test r15, r15
je 0x140080b9e
movaps xmm0, xmmword [rbp + 0x70]
lea rdx, [rbp + 0x80]
mov r8d, 2
mov rcx, r15
movdqa xmmword [rbp + 0x80], xmm0
call qword [sym.imp.GDI32.dll_LPtoDP]
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 8]
call fcn.1400800a0
mov ebx, eax
test eax, eax
jne 0x140080f78
lea edx, [rax + 0x5a]
mov rcx, r15
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, dword [rbp + 0x90]
lea r8d, [rbx + 0x64]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
xor r10d, r10d
mov dword [rbp + 0x90], eax
cmp word [rdi], r10w
cmovne r13, rdi
xor edi, edi
test r15, r15
je 0x140080ca6
test r13, r13
je 0x140080ca6
mov edx, dword [rbp]
mov rcx, r15
call qword [sym.imp.GDI32.dll_SetTextColor]
mov r15d, eax
cmp eax, 0xffffffff
je 0x1400810c3
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 8]
call fcn.1400800a0
mov ebx, eax
test eax, eax
jne 0x14008108e
lea rcx, [rbp + 0xf0]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140081054
mov rcx, qword [rsp + 0x60]
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov r14, rax
xor eax, eax
test r14, r14
je 0x140081004
mov edi, eax
cmp word [rbp + 0x64], ax
je 0x140080c45
mov rdx, r13
mov ecx, 0x800
call fcn.140078484
mov ecx, 0x20000
test eax, eax
cmovne edi, ecx
mov eax, dword [rbp + 4]
lea r9, [rbp + 0x70]
or r8d, 0xffffffff
or eax, edi
mov rdi, qword [rsp + 0x60]
mov rdx, r13
or eax, 0x810
mov rcx, rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_DrawTextW]
test eax, eax
je 0x140080fab
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, r15d
mov rcx, rdi
mov r15, rdi
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r14, qword [rsp + 0x78]
xor edi, edi
mov qword [rsp + 0x40], rdi
inc r12d
mov r13, rdi
cmp r12d, dword [rbp - 0x28]
jl 0x1400809ba
mov r12, qword [rsp + 0x48]
lea r9, [rsp + 0x50]
lea rdx, [rbp + 0x1c0]
mov r8d, 6
mov rcx, r12
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140080cea
cmp dword [rsp + 0x50], 6
je 0x14008074f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14008074f
test byte [rcx + 0x1c], 2
je 0x14008074f
cmp byte [rcx + 0x19], 2
jb 0x14008074f
mov edx, 0x2b
jmp 0x14008073c
mov ebx, esi
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140080d68
test byte [rcx + 0x1c], 2
je 0x140080d68
cmp byte [rcx + 0x19], 2
jb 0x140080d68
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006380]
mov edx, 0x1f
mov r9d, r12d
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], edi
call fcn.140039520
mov rdi, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x140080d84
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140080d96
mov rcx, rax
call fcn.140072328
test rdi, rdi
je 0x140080da4
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x140080db7
mov rcx, rax
call qword [sym.imp.msvcrt.dll_free]
mov r15, qword [rsp + 0x60]
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x140080dce
mov rcx, rax
call qword [sym.imp.msvcrt.dll_free]
mov rsi, qword [rsp + 0x58]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x140080def
mov edx, eax
mov rcx, r15
call qword [sym.imp.GDI32.dll_RestoreDC]
test ebx, ebx
jne 0x140080ef7
test rsi, rsi
je 0x140080ef7
mov eax, dword [rsp + 0x54]
movaps xmm0, xmmword [rbp + 0x80]
mov dword [rsi], eax
movzx eax, word [rbp + 0x1c2]
movdqu xmmword [rsi + 4], xmm0
mov word [rsi + 0x16], ax
movzx eax, word [rbp + 0x1c4]
mov word [rsi + 0x14], ax
mov eax, dword [rbp + 0x90]
mov dword [rsi + 0x18], eax
mov eax, dword [rbp + 0x94]
mov dword [rsi + 0x1c], eax
mov eax, dword [rbp + 0x98]
mov dword [rsi + 0x20], eax
mov eax, dword [rbp + 0x9c]
mov dword [rsi + 0x24], eax
mov eax, dword [rbp + 0xa0]
mov dword [rsi + 0x28], eax
mov eax, dword [rbp + 0xa4]
mov dword [rsi + 0x2c], eax
mov eax, dword [rbp + 0xa8]
mov dword [rsi + 0x30], eax
mov eax, dword [rbp + 0xac]
mov dword [rsi + 0x34], eax
mov eax, dword [rbp + 0xb0]
mov dword [rsi + 0x38], eax
mov eax, dword [rbp + 0xb4]
mov dword [rsi + 0x3c], eax
mov eax, dword [rbp + 0xb8]
mov dword [rsi + 0x40], eax
mov eax, dword [rbp + 0xbc]
mov dword [rsi + 0x44], eax
mov eax, dword [rbp + 0xc0]
mov dword [rsi + 0x48], eax
mov eax, dword [rbp + 0xc4]
mov dword [rsi + 0x4c], eax
mov eax, dword [rbp + 0xc8]
mov dword [rsi + 0x50], eax
mov eax, dword [rbp + 0xcc]
mov dword [rsi + 0x54], eax
mov eax, dword [rbp + 0xd0]
mov dword [rsi + 0x58], eax
mov eax, dword [rbp + 0xd4]
mov dword [rsi + 0x5c], eax
mov eax, dword [rbp + 0xd8]
mov dword [rsi + 0x60], eax
mov eax, dword [rbp + 0xdc]
mov dword [rsi + 0x64], eax
mov eax, dword [rbp + 0xe0]
mov dword [rsi + 0x68], eax
mov eax, dword [rbp + 0xe4]
mov dword [rsi + 0x6c], eax
mov eax, dword [rbp + 0xe8]
mov dword [rsi + 0x70], eax
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x140080f09
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
mov eax, ebx
mov rcx, qword [rbp + 0x1c8]
xor rcx, rsp
call fcn.140088640
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ebx, esi
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140080d68
test byte [rcx + 0x1c], 2
je 0x140080d68
cmp byte [rcx + 0x19], 2
jb 0x140080d68
mov edx, 0x21
mov r9d, esi
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006380]
call fcn.14000e63c
jmp 0x140080d68
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140080fa1
test byte [rcx + 0x1c], 2
je 0x140080fa1
cmp byte [rcx + 0x19], 2
jb 0x140080fa1
mov edx, 0x22
mov r9d, ebx
jmp 0x140080f63
mov r12, qword [rsp + 0x48]
jmp 0x14008074f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140080d68
test byte [rcx + 0x1c], 2
je 0x140080d68
cmp byte [rcx + 0x19], 2
jb 0x140080d68
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006380]
mov edx, 0x2a
mov r9d, r12d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r13
call fcn.1400396bc
jmp 0x140080d68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140080d6d
test byte [rcx + 0x1c], 2
je 0x140080d6d
cmp byte [rcx + 0x19], 2
jb 0x140080d6d
mov edx, 0x26
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006380]
mov r9d, ebx
call fcn.14000e63c
jmp 0x140080d6d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140080d6d
test byte [rcx + 0x1c], 2
je 0x140080d6d
cmp byte [rcx + 0x19], 2
jb 0x140080d6d
mov edx, 0x25
jmp 0x14008103c
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140080d68
test byte [rcx + 0x1c], 2
je 0x140080d68
cmp byte [rcx + 0x19], 2
jb 0x140080d68
mov edx, 0x24
jmp 0x140080f9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140080d68
test byte [rcx + 0x1c], 2
je 0x140080d68
cmp byte [rcx + 0x19], 2
jb 0x140080d68
mov edx, 0x23
jmp 0x140080f9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140080d68
test byte [rcx + 0x1c], 2
je 0x140080d68
cmp byte [rcx + 0x19], 2
jb 0x140080d68
mov edx, 0x20
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006380]
mov r9d, r12d
mov dword [rsp + 0x20], ebx
call fcn.14000e820
jmp 0x140080d68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140080d68
test byte [rcx + 0x1c], 2
je 0x140080d68
cmp byte [rcx + 0x19], 2
jb 0x140080d68
mov edx, 0x1e
jmp 0x140081138
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140080dbc
test byte [rcx + 0x1c], 2
je 0x140080dbc
cmp byte [rcx + 0x19], 2
jb 0x140080dbc
mov edx, 0x10
jmp 0x1400805ae
mov r9d, 0xb
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140080dd3
test byte [rcx + 0x1c], 2
je 0x140080dd3
cmp byte [rcx + 0x19], 2
jb 0x140080dd3
lea edx, [r9 + 3]
jmp 0x14008073f