Function at 0x140064410
Capabilities:
Check os version

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2a8
mov qword [rsp + 0x270], 0xfffffffffffffffe
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
mov r15, rcx
call fcn.1401e00a4
nop
lea rax, [0x140265d08]
mov qword [r15], rax
lea rax, [0x140265f90]
mov qword [r15 + 0xa8], rax
lea rcx, [r15 + 0xc8]
call fcn.1401edb28
nop
mov edx, 0xa
lea rcx, [r15 + 0xe8]
call fcn.1401e74bc
lea r11, [0x140265fa0]
mov qword [r15 + 0xe8], r11
xor esi, esi
mov qword [r15 + 0x130], rsi
lea rax, [0x14024feb0]
mov qword [r15 + 0x128], rax
call fcn.1401e9d6c
test rax, rax
je 0x1400644d7
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
test rax, rax
je 0x1400644d7
mov rbx, qword [rax + 0xc0]
test rbx, rbx
jne 0x1400644ce
mov rbx, rsi
jmp 0x1400644da
add dword [rbx + 0x1ab4], 1
jmp 0x1400644da
mov rbx, rsi
mov qword [r15 + 0xd8], rbx
mov qword [r15 + 0xe0], rsi
mov qword [r15 + 0xb0], rsi
mov dword [r15 + 0xb8], esi
mov dword [r15 + 0xbc], esi
test rbx, rbx
je 0x140064510
lea rax, [rbx + 0x1a10]
mov qword [r15 + 0xe0], rax
lea rcx, [r15 + 0x138]
lea rdx, [0x140304430]
mov r8d, 0x48
call fcn.140219480
test rbx, rbx
je 0x14006454b
cmp qword [rbx + 0x528], 0
je 0x14006454b
mov rcx, qword [rbx + 0x528]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0xe8]
movsd xmm0, qword [0x140304478]
movsd xmm1, qword [0x14029d0b8]
mulsd xmm0, xmm1
cvttsd2si r8d, xmm0
movsd xmm0, qword [0x140304428]
mulsd xmm0, xmm1
cvttsd2si edx, xmm0
mov ebp, 9
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
lea r9d, [rbp + 0x17]
lea rcx, [r15 + 0xc8]
call fcn.1401ee0e8
lea rsi, [r15 + 0x13c]
lea r13, [0x140272878]
lea r14, [0x140272838]
xor edi, edi
lea r12d, [rbp - 8]
nop
mov qword [rsp + 0x220], r13
mov qword [rsp + 0x228], rdi
mov qword [rsp + 0x230], rdi
mov dword [rsp + 0x238], edi
mov dword [rsp + 0x23c], edi
mov dword [rsp + 0x240], edi
mov dword [rsp + 0x244], edi
mov byte [rsp + 0x248], 0
mov byte [rsp + 0x249], 0
mov dword [rsp + 0x24c], 0xffffffff
mov qword [rsp + 0x250], rdi
mov dword [rsp + 0x258], edi
mov qword [rsp + 0x260], rdi
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x140310d90], 1
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x220], r14
mov qword [rsp + 0x268], rdi
call fcn.1401dc36c
mov dword [rsp + 0x20], r12d
lea r9, [0x14025ad20]
mov r8d, dword [rsi]
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x220]
call fcn.1400ce810
mov rcx, qword [rsp + 0x228]
call fcn.1401e8a10
test rax, rax
je 0x140064682
mov rdi, qword [rax + 8]
mov rbx, qword [r15 + 0xd0]
call fcn.1401dc36c
mov rcx, qword [rax + 0xc8]
mov r9d, 0xffffff
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.1400277a0
nop
mov qword [rsp + 0x220], r13
mov rcx, qword [rsp + 0x228]
test rcx, rcx
je 0x140064710
xor edi, edi
mov qword [rsp + 0x228], rdi
mov qword [rsp + 0x230], rdi
mov dword [rsp + 0x238], edi
mov dword [rsp + 0x23c], edi
mov dword [rsp + 0x244], edi
mov dword [rsp + 0x240], edi
mov dword [rsp + 0x24c], 0xffffffff
mov byte [rsp + 0x249], dil
mov byte [rsp + 0x248], dil
call qword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x140064712
xor edi, edi
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [0x140310d90], 1
jne 0x14006475a
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x140310d60]
test rcx, rcx
je 0x140064746
call sub.gdiplus.dll_GdiplusShutdown
mov qword [0x140310d60], rdi
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsi, 8
sub rbp, 1
jne 0x1400645b0
lea rbp, [0x140272878]
mov qword [rsp + 0xe0], rbp
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0xf0], rdi
mov dword [rsp + 0xf8], edi
mov dword [rsp + 0xfc], edi
mov dword [rsp + 0x100], edi
mov dword [rsp + 0x104], edi
mov byte [rsp + 0x108], 0
mov byte [rsp + 0x109], 0
mov dword [rsp + 0x10c], 0xffffffff
mov qword [rsp + 0x110], rdi
mov dword [rsp + 0x118], edi
mov qword [rsp + 0x120], rdi
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x140310d90], 1
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rbx, [0x140272838]
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x130], rbp
mov qword [rsp + 0x138], rdi
mov qword [rsp + 0x140], rdi
mov dword [rsp + 0x148], edi
mov dword [rsp + 0x14c], edi
mov dword [rsp + 0x150], edi
mov dword [rsp + 0x154], edi
mov byte [rsp + 0x158], 0
mov byte [rsp + 0x159], 0
mov dword [rsp + 0x15c], 0xffffffff
mov qword [rsp + 0x160], rdi
mov dword [rsp + 0x168], edi
mov qword [rsp + 0x170], rdi
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x140310d90], 1
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x178], rdi
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], rdi
mov dword [rsp + 0xa8], edi
mov dword [rsp + 0xac], edi
mov dword [rsp + 0xb0], edi
mov dword [rsp + 0xb4], edi
mov byte [rsp + 0xb8], 0
mov byte [rsp + 0xb9], 0
mov dword [rsp + 0xbc], 0xffffffff
mov qword [rsp + 0xc0], rdi
mov dword [rsp + 0xc8], edi
mov qword [rsp + 0xd0], rdi
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x140310d90], 1
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0x180], rbp
mov qword [rsp + 0x188], rdi
mov qword [rsp + 0x190], rdi
mov dword [rsp + 0x198], edi
mov dword [rsp + 0x19c], edi
mov dword [rsp + 0x1a0], edi
mov dword [rsp + reloc.OLEAUT32.dll_OleTranslateColor], edi
mov byte [rsp + 0x1a8], 0
mov byte [rsp + 0x1a9], 0
mov dword [rsp + 0x1ac], 0xffffffff
mov qword [rsp + 0x1b0], rdi
mov dword [rsp + 0x1b8], edi
mov qword [rsp + 0x1c0], rdi
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x140310d90], 1
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x1c8], rdi
call fcn.1401dc36c
mov dword [rsp + 0x20], r12d
lea r9, [0x14025ad20]
mov r8d, 0x129
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0xe0]
call fcn.1400ce810
call fcn.1401dc36c
mov dword [rsp + 0x20], r12d
lea r9, [0x14025ad20]
mov r8d, 0x12b
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x130]
call fcn.1400ce810
call fcn.1401dc36c
mov dword [rsp + 0x20], r12d
lea r9, [0x14025ad20]
mov r8d, 0x127
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x90]
call fcn.1400ce810
call fcn.1401dc36c
mov dword [rsp + 0x20], r12d
lea r9, [0x14025ad20]
mov r8d, 0x124
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x180]
call fcn.1400ce810
mov esi, edi
mov dword [rsp + 0x2f8], edi
lea r13, [0x140000000]
movsd xmm6, qword [0x14029ece8]
movsd xmm7, qword [0x140297408]
nop
mov r14, rdi
nop
nop
nop
nop
mov qword [rsp + 0x1d0], rbp
mov qword [rsp + 0x1d8], rdi
mov qword [rsp + 0x1e0], rdi
mov dword [rsp + 0x1e8], edi
mov dword [rsp + 0x1ec], edi
mov dword [rsp + 0x1f0], edi
mov dword [rsp + 0x1f4], edi
mov byte [rsp + 0x1f8], 0
mov byte [rsp + 0x1f9], 0
mov dword [rsp + 0x1fc], 0xffffffff
mov qword [rsp + 0x200], rdi
mov dword [rsp + 0x208], edi
mov qword [rsp + 0x210], rdi
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x140310d90], 1
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x1d0], rbx
mov qword [rsp + 0x218], rdi
call fcn.1401dc36c
mov dword [rsp + 0x20], r12d
lea r9, [0x14025ad20]
mov r8d, dword [r15 + r14*8 + 0x13c]
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x1d0]
call fcn.1400ce810
add dword [rsp + 0x208], 1
mov rcx, qword [rsp + 0x200]
test rcx, rcx
jne 0x140064bdf
mov ecx, edi
nop
nop
movsxd rax, ecx
mov r8, rdi
xchg qword [r13 + rax*8 + 0x310d40], r8
test r8, r8
jne 0x140064bb6
add ecx, 1
cmp ecx, 4
jl 0x140064b90
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8, rax
mov qword [rsp + 0x200], r8
mov rdx, qword [rsp + 0x1d8]
mov rcx, r8
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x210], rax
mov rcx, qword [rsp + 0x200]
call fcn.1401e859c
mov rbx, rax
cmp esi, 6
ja case.default.0x140064bfe
movsxd rcx, esi
mov edx, dword [r13 + rcx*4 + 0x66180]
add rdx, r13
jmp rdx
test rax, rax
jne 0x140064c0a
mov rbx, rdi
jmp 0x140064c0e
mov rbx, qword [rax + 8]
movsd xmm0, qword [0x140304478]
mulsd xmm0, xmm6
cvttsd2si ebp, xmm0
movsd xmm1, qword [0x140304428]
mulsd xmm1, xmm6
cvttsd2si r12d, xmm1
mov edi, dword [rsp + 0xfc]
mov esi, dword [rsp + 0xf8]
mov byte [rsp + 0x302], 0xff
mov byte [rsp + 0x300], 0
mov byte [rsp + 0x301], 0
cmp byte [rsp + 0x109], 0
setne byte [rsp + 0x303]
add dword [rsp + 0x118], 1
mov rcx, qword [rsp + 0x110]
test rcx, rcx
jne 0x140064ccf
nop
nop
movsxd rax, ecx
xor r8d, r8d
xchg qword [r13 + rax*8 + 0x310d40], r8
test r8, r8
jne 0x140064ca6
add ecx, 1
cmp ecx, 4
jl 0x140064c80
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8, rax
mov qword [rsp + 0x110], r8
mov rdx, qword [rsp + 0xe8]
mov rcx, r8
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x110]
mov eax, dword [rsp + 0x300]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9d, esi
mov r8d, ebp
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.MSIMG32.dll_AlphaBlend]
sub dword [rsp + 0x118], 1
jne 0x140065c69
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x110]
xor edi, edi
mov edx, edi
nop
movsxd rax, edx
xchg qword [r13 + rax*8 + 0x310d40], rcx
test rcx, rcx
je 0x140064d5e
add edx, 1
cmp edx, 4
jl 0x140064d40
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0x110], rdi
mov esi, dword [rsp + 0x2f8]
mov r12d, 1
lea rbp, [0x140272878]
jmp case.default.0x140064bfe
test rax, rax
jne 0x140064d89
mov rbx, rdi
jmp 0x140064d8d
mov rbx, qword [rax + 8]
movsd xmm0, qword [0x140304478]
mulsd xmm0, xmm6
cvttsd2si ebp, xmm0
movsd xmm1, qword [0x140304428]
mulsd xmm1, xmm6
cvttsd2si r12d, xmm1
mov edi, dword [rsp + 0x14c]
mov esi, dword [rsp + 0x148]
mov byte [rsp + 0x30a], 0xff
mov byte [rsp + 0x308], 0
mov byte [rsp + 0x309], 0
cmp byte [rsp + 0x159], 0
setne byte [rsp + 0x30b]
add dword [rsp + 0x168], 1
mov rcx, qword [rsp + 0x160]
test rcx, rcx
jne 0x140064e4f
nop
nop
movsxd rax, ecx
xor r8d, r8d
xchg qword [r13 + rax*8 + 0x310d40], r8
test r8, r8
jne 0x140064e26
add ecx, 1
cmp ecx, 4
jl 0x140064e00
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8, rax
mov qword [rsp + 0x160], r8
mov rdx, qword [rsp + 0x138]
mov rcx, r8
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x170], rax
mov rcx, qword [rsp + 0x160]
mov eax, dword [rsp + 0x308]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9d, esi
mov r8d, ebp
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.MSIMG32.dll_AlphaBlend]
sub dword [rsp + 0x168], 1
jne 0x140065c53
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x160]
xor edi, edi
mov edx, edi
nop
movsxd rax, edx
xchg qword [r13 + rax*8 + 0x310d40], rcx
test rcx, rcx
je 0x140064ede
add edx, 1
cmp edx, 4
jl 0x140064ec0
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0x160], rdi
mov esi, dword [rsp + 0x2f8]
mov r12d, 1
lea rbp, [0x140272878]
jmp case.default.0x140064bfe
test rax, rax
jne 0x140064f09
mov rbx, rdi
jmp 0x140064f0d
mov rbx, qword [rax + 8]
movsd xmm0, qword [0x140304478]
mulsd xmm0, xmm6
cvttsd2si ebp, xmm0
movsd xmm1, qword [0x140304428]
mulsd xmm1, xmm6
cvttsd2si r12d, xmm1
mov edi, dword [rsp + 0xac]
mov esi, dword [rsp + 0xa8]
mov byte [rsp + 0x7a], 0xff
mov byte [rsp + 0x78], 0
mov byte [rsp + 0x79], 0
cmp byte [rsp + 0xb9], 0
setne byte [rsp + 0x7b]
add dword [rsp + 0xc8], 1
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
jne 0x140064fbf
nop
movsxd rax, ecx
xor r8d, r8d
xchg qword [r13 + rax*8 + 0x310d40], r8
test r8, r8
jne 0x140064f96
add ecx, 1
cmp ecx, 4
jl 0x140064f70
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8, rax
mov qword [rsp + 0xc0], r8
mov rdx, qword [rsp + 0x98]
mov rcx, r8
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9d, esi
mov r8d, ebp
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.MSIMG32.dll_AlphaBlend]
sub dword [rsp + 0xc8], 1
jne 0x140065c3d
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0xc0]
xor edi, edi
mov edx, edi
nop
nop
movsxd rax, edx
xchg qword [r13 + rax*8 + 0x310d40], rcx
test rcx, rcx
je 0x14006504e
add edx, 1
cmp edx, 4
jl 0x140065030
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0xc0], rdi
mov esi, dword [rsp + 0x2f8]
mov r12d, 1
lea rbp, [0x140272878]
jmp case.default.0x140064bfe
test rax, rax
je 0x140065078
mov rdi, qword [rax + 8]
movsd xmm0, qword [0x140304478]
mulsd xmm0, xmm6
cvttsd2si r12d, xmm0
movsd xmm1, qword [0x140304428]
mulsd xmm1, xmm7
cvttsd2si r13d, xmm1
mov esi, dword [rsp + 0xfc]
mov ebp, dword [rsp + 0xf8]
mov byte [rsp + 0x6a], 0xff
mov byte [rsp + 0x68], 0
mov byte [rsp + 0x69], 0
cmp byte [rsp + 0x109], 0
setne byte [rsp + 0x6b]
add dword [rsp + 0x118], 1
mov rcx, qword [rsp + 0x110]
test rcx, rcx
jne 0x14006512f
lea rdx, [0x140000000]
movsxd rax, ecx
xor r8d, r8d
xchg qword [rdx + rax*8 + 0x310d40], r8
test r8, r8
jne 0x140065106
add ecx, 1
cmp ecx, 4
jl 0x1400650e0
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8, rax
mov qword [rsp + 0x110], r8
mov rdx, qword [rsp + 0xe8]
mov rcx, r8
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x110]
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], ebp
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9d, ebp
mov r8d, r12d
mov edx, r13d
mov rcx, rdi
call qword [sym.imp.MSIMG32.dll_AlphaBlend]
sub dword [rsp + 0x118], 1
jne 0x1400651cc
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x110]
xor edx, edx
lea r13, [0x140000000]
nop
nop
nop
movsxd rax, edx
xchg qword [r13 + rax*8 + 0x310d40], rcx
test rcx, rcx
je 0x1400651be
add edx, 1
cmp edx, 4
jl 0x1400651a0
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0x110], 0
jmp 0x1400651d3
lea r13, [0x140000000]
test rbx, rbx
je 0x1400651dc
mov rbx, qword [rbx + 8]
movsd xmm0, qword [0x140304478]
mulsd xmm0, xmm6
cvttsd2si ebp, xmm0
movsd xmm1, qword [0x140304428]
mulsd xmm1, xmm6
cvttsd2si r12d, xmm1
mov edi, dword [rsp + 0x14c]
mov esi, dword [rsp + 0x148]
mov byte [rsp + 0x6e], 0xff
mov byte [rsp + 0x6c], 0
mov byte [rsp + 0x6d], 0
cmp byte [rsp + 0x159], 0
setne byte [rsp + 0x6f]
add dword [rsp + 0x168], 1
mov rcx, qword [rsp + 0x160]
test rcx, rcx
jne 0x14006528f
nop
movsxd rax, ecx
xor r8d, r8d
xchg qword [r13 + rax*8 + 0x310d40], r8
test r8, r8
jne 0x140065266
add ecx, 1
cmp ecx, 4
jl 0x140065240
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8, rax
mov qword [rsp + 0x160], r8
mov rdx, qword [rsp + 0x138]
mov rcx, r8
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x170], rax
mov rcx, qword [rsp + 0x160]
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], esi
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9d, esi
mov r8d, ebp
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.MSIMG32.dll_AlphaBlend]
sub dword [rsp + 0x168], 1
jne 0x140065c27
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x160]
xor edi, edi
mov edx, edi
nop
nop
nop
movsxd rax, edx
xchg qword [r13 + rax*8 + 0x310d40], rcx
test rcx, rcx
je 0x14006531e
add edx, 1
cmp edx, 4
jl 0x140065300
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0x160], rdi
mov esi, dword [rsp + 0x2f8]
mov r12d, 1
lea rbp, [0x140272878]
jmp case.default.0x140064bfe
test rax, rax
je 0x140065348
mov rdi, qword [rax + 8]
movsd xmm0, qword [0x140304478]
mulsd xmm0, xmm6
cvttsd2si r12d, xmm0
movsd xmm1, qword [0x140304428]
mulsd xmm1, xmm7
cvttsd2si r13d, xmm1
mov esi, dword [rsp + 0xfc]
mov ebp, dword [rsp + 0xf8]
mov byte [rsp + 0x72], 0xff
mov byte [rsp + 0x70], 0
mov byte [rsp + 0x71], 0
cmp byte [rsp + 0x109], 0
setne byte [rsp + 0x73]
add dword [rsp + 0x118], 1
mov rcx, qword [rsp + 0x110]
test rcx, rcx
jne 0x1400653ff
lea rdx, [0x140000000]
movsxd rax, ecx
xor r8d, r8d
xchg qword [rdx + rax*8 + 0x310d40], r8
test r8, r8
jne 0x1400653d6
add ecx, 1
cmp ecx, 4
jl 0x1400653b0
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8, rax
mov qword [rsp + 0x110], r8
mov rdx, qword [rsp + 0xe8]
mov rcx, r8
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x110]
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], ebp
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9d, ebp
mov r8d, r12d
mov edx, r13d
mov rcx, rdi
call qword [sym.imp.MSIMG32.dll_AlphaBlend]
sub dword [rsp + 0x118], 1
jne 0x14006549c
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x110]
xor edx, edx
lea r13, [0x140000000]
nop
nop
nop
movsxd rax, edx
xchg qword [r13 + rax*8 + 0x310d40], rcx
test rcx, rcx
je 0x14006548e
add edx, 1
cmp edx, 4
jl 0x140065470
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0x110], 0
jmp 0x1400654a3
lea r13, [0x140000000]
test rbx, rbx
je 0x1400654ac
mov rbx, qword [rbx + 8]
movsd xmm0, qword [0x140304478]
mulsd xmm0, xmm6
cvttsd2si ebp, xmm0
movsd xmm1, qword [0x140304428]
mulsd xmm1, xmm6
cvttsd2si r12d, xmm1
mov edi, dword [rsp + 0xac]
mov esi, dword [rsp + 0xa8]
mov byte [rsp + 0x76], 0xff
mov byte [rsp + 0x74], 0
mov byte [rsp + 0x75], 0
cmp byte [rsp + 0xb9], 0
setne byte [rsp + 0x77]
add dword [rsp + 0xc8], 1
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
jne 0x14006555f
nop
movsxd rax, ecx
xor r8d, r8d
xchg qword [r13 + rax*8 + 0x310d40], r8
test r8, r8
jne 0x140065536
add ecx, 1
cmp ecx, 4
jl 0x140065510
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8, rax
mov qword [rsp + 0xc0], r8
mov rdx, qword [rsp + 0x98]
mov rcx, r8
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], esi
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9d, esi
mov r8d, ebp
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.MSIMG32.dll_AlphaBlend]
sub dword [rsp + 0xc8], 1
jne 0x140065c11
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0xc0]
xor edi, edi
mov edx, edi
nop
nop
nop
movsxd rax, edx
xchg qword [r13 + rax*8 + 0x310d40], rcx
test rcx, rcx
je 0x1400655ee
add edx, 1
cmp edx, 4
jl 0x1400655d0
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0xc0], rdi
mov esi, dword [rsp + 0x2f8]
mov r12d, 1
lea rbp, [0x140272878]
jmp case.default.0x140064bfe
test rax, rax
je 0x140065618
mov rdi, qword [rax + 8]
movsd xmm0, qword [0x140304478]
mulsd xmm0, xmm6
cvttsd2si r12d, xmm0
movsd xmm1, qword [0x140304428]
mulsd xmm1, xmm7
cvttsd2si r13d, xmm1
mov esi, dword [rsp + 0x14c]
mov ebp, dword [rsp + 0x148]
mov byte [rsp + 0x82], 0xff
mov byte [rsp + 0x80], 0
mov byte [rsp + 0x81], 0
cmp byte [rsp + 0x159], 0
setne byte [rsp + 0x83]
add dword [rsp + 0x168], 1
mov rcx, qword [rsp + 0x160]
test rcx, rcx
jne 0x1400656df
lea rdx, [0x140000000]
nop
movsxd rax, ecx
xor r8d, r8d
xchg qword [rdx + rax*8 + 0x310d40], r8
test r8, r8
jne 0x1400656b6
add ecx, 1
cmp ecx, 4
jl 0x140065690
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8, rax
mov qword [rsp + 0x160], r8
mov rdx, qword [rsp + 0x138]
mov rcx, r8
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x170], rax
mov rcx, qword [rsp + 0x160]
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], ebp
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9d, ebp
mov r8d, r12d
mov edx, r13d
mov rcx, rdi
call qword [sym.imp.MSIMG32.dll_AlphaBlend]
sub dword [rsp + 0x168], 1
jne 0x14006577c
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x160]
xor edx, edx
lea r13, [0x140000000]
nop
nop
movsxd rax, edx
xchg qword [r13 + rax*8 + 0x310d40], rcx
test rcx, rcx
je 0x14006576e
add edx, 1
cmp edx, 4
jl 0x140065750
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0x160], 0
jmp 0x140065783
lea r13, [0x140000000]
test rbx, rbx
je 0x14006578c
mov rbx, qword [rbx + 8]
movsd xmm0, qword [0x140304478]
mulsd xmm0, xmm6
cvttsd2si ebp, xmm0
movsd xmm1, qword [0x140304428]
mulsd xmm1, xmm6
cvttsd2si r12d, xmm1
mov edi, dword [rsp + 0xac]
mov esi, dword [rsp + 0xa8]
mov byte [rsp + 0x7e], 0xff
mov byte [rsp + 0x7c], 0
mov byte [rsp + 0x7d], 0
cmp byte [rsp + 0xb9], 0
setne byte [rsp + 0x7f]
add dword [rsp + 0xc8], 1
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
jne 0x14006583f
nop
movsxd rax, ecx
xor r8d, r8d
xchg qword [r13 + rax*8 + 0x310d40], r8
test r8, r8
jne 0x140065816
add ecx, 1
cmp ecx, 4
jl 0x1400657f0
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8, rax
mov qword [rsp + 0xc0], r8
mov rdx, qword [rsp + 0x98]
mov rcx, r8
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], esi
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9d, esi
mov r8d, ebp
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.MSIMG32.dll_AlphaBlend]
sub dword [rsp + 0xc8], 1
jne 0x140065bf8
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0xc0]
xor edi, edi
mov edx, edi
nop
nop
nop
movsxd rax, edx
xchg qword [r13 + rax*8 + 0x310d40], rcx
test rcx, rcx
je 0x1400658ce
add edx, 1
cmp edx, 4
jl 0x1400658b0
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0xc0], rdi
mov esi, dword [rsp + 0x2f8]
mov r12d, 1
lea rbp, [0x140272878]
jmp case.default.0x140064bfe
cmp dword [r15 + 0xb8], 0
je 0x140065a6f
test r14, r14
jne 0x140065a6f
test rax, rax
jne 0x140065910
mov rbx, rdi
jmp 0x140065914
mov rbx, qword [rax + 8]
movsd xmm0, qword [0x140304478]
mulsd xmm0, xmm6
cvttsd2si ebp, xmm0
mov r12d, dword [r15 + 0xbc]
mov edi, dword [rsp + 0x19c]
mov esi, dword [rsp + 0x198]
mov byte [rsp + 0x62], 0xff
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x61], 0
cmp byte [rsp + 0x1a9], 0
setne byte [rsp + 0x63]
add dword [rsp + 0x1b8], 1
mov rcx, qword [rsp + 0x1b0]
test rcx, rcx
jne 0x1400659bf
nop
nop
movsxd rax, ecx
xor r8d, r8d
xchg qword [r13 + rax*8 + 0x310d40], r8
test r8, r8
jne 0x140065996
add ecx, 1
cmp ecx, 4
jl 0x140065970
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8, rax
mov qword [rsp + 0x1b0], r8
mov rdx, qword [rsp + 0x188]
mov rcx, r8
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x1c0], rax
mov rcx, qword [rsp + 0x1b0]
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], esi
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9d, esi
mov r8d, ebp
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.MSIMG32.dll_AlphaBlend]
sub dword [rsp + 0x1b8], 1
jne 0x140065bdf
mov rdx, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x1b0]
xor edi, edi
mov edx, edi
nop
nop
nop
movsxd rax, edx
xchg qword [r13 + rax*8 + 0x310d40], rcx
test rcx, rcx
je 0x140065a4e
add edx, 1
cmp edx, 4
jl 0x140065a30
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0x1b0], rdi
mov esi, dword [rsp + 0x2f8]
mov r12d, 1
lea rbp, [0x140272878]
jmp case.default.0x140064bfe
test rax, rax
jne 0x140065a79
mov rbx, rdi
jmp 0x140065a7d
mov rbx, qword [rax + 8]
movsd xmm0, qword [0x140304478]
mulsd xmm0, xmm6
cvttsd2si ebp, xmm0
movsd xmm1, qword [0x140304428]
mulsd xmm1, xmm6
cvttsd2si r12d, xmm1
mov edi, dword [rsp + 0x19c]
mov esi, dword [rsp + 0x198]
mov byte [rsp + 0x66], 0xff
mov byte [rsp + 0x64], 0
mov byte [rsp + 0x65], 0
cmp byte [rsp + 0x1a9], 0
setne byte [rsp + 0x67]
add dword [rsp + 0x1b8], 1
mov rcx, qword [rsp + 0x1b0]
test rcx, rcx
jne 0x140065b2f
nop
movsxd rax, ecx
xor r8d, r8d
xchg qword [r13 + rax*8 + 0x310d40], r8
test r8, r8
jne 0x140065b06
add ecx, 1
cmp ecx, 4
jl 0x140065ae0
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8, rax
mov qword [rsp + 0x1b0], r8
mov rdx, qword [rsp + 0x188]
mov rcx, r8
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x1c0], rax
mov rcx, qword [rsp + 0x1b0]
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], esi
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9d, esi
mov r8d, ebp
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.MSIMG32.dll_AlphaBlend]
sub dword [rsp + 0x1b8], 1
jne 0x140065c7f
mov rdx, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x1b0]
xor edi, edi
mov edx, edi
nop
nop
nop
movsxd rax, edx
xchg qword [r13 + rax*8 + 0x310d40], rcx
test rcx, rcx
je 0x140065bbe
add edx, 1
cmp edx, 4
jl 0x140065ba0
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0x1b0], rdi
mov esi, dword [rsp + 0x2f8]
mov r12d, 1
lea rbp, [0x140272878]
jmp case.default.0x140064bfe
mov esi, dword [rsp + 0x2f8]
xor edi, edi
lea r12d, [rdi + 1]
lea rbp, [0x140272878]
jmp case.default.0x140064bfe
mov esi, dword [rsp + 0x2f8]
xor edi, edi
lea r12d, [rdi + 1]
lea rbp, [0x140272878]
jmp case.default.0x140064bfe
mov esi, dword [rsp + 0x2f8]
xor edi, edi
lea r12d, [rdi + 1]
lea rbp, [0x140272878]
jmp case.default.0x140064bfe
mov esi, dword [rsp + 0x2f8]
xor edi, edi
lea r12d, [rdi + 1]
lea rbp, [0x140272878]
jmp case.default.0x140064bfe
mov esi, dword [rsp + 0x2f8]
xor edi, edi
lea r12d, [rdi + 1]
lea rbp, [0x140272878]
jmp case.default.0x140064bfe
mov esi, dword [rsp + 0x2f8]
xor edi, edi
lea r12d, [rdi + 1]
lea rbp, [0x140272878]
jmp case.default.0x140064bfe
mov esi, dword [rsp + 0x2f8]
xor edi, edi
lea r12d, [rdi + 1]
lea rbp, [0x140272878]
jmp case.default.0x140064bfe
mov esi, dword [rsp + 0x2f8]
xor edi, edi
lea r12d, [rdi + 1]
lea rbp, [0x140272878]
sub dword [rsp + 0x208], 1
jne 0x140065ce6
mov rdx, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x200]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x200]
mov edx, edi
nop
movsxd rax, edx
xchg qword [r13 + rax*8 + 0x310d40], rcx
test rcx, rcx
je 0x140065cde
add edx, 1
cmp edx, 4
jl 0x140065cc0
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0x200], rdi
mov rcx, qword [rsp + 0x1d8]
call fcn.1401e8a10
test rax, rax
je 0x140065cfc
mov rdi, qword [rax + 8]
mov rbx, qword [r15 + 0xd0]
call fcn.1401dc36c
mov rcx, qword [rax + 0xc8]
mov r9d, 0xffffff
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.1400277a0
nop
mov qword [rsp + 0x1d0], rbp
mov rcx, qword [rsp + 0x1d8]
test rcx, rcx
je 0x140065d8a
xor edi, edi
mov qword [rsp + 0x1d8], rdi
mov qword [rsp + 0x1e0], rdi
mov dword [rsp + 0x1e8], edi
mov dword [rsp + 0x1ec], edi
mov dword [rsp + 0x1f4], edi
mov dword [rsp + 0x1f0], edi
mov dword [rsp + 0x1fc], 0xffffffff
mov byte [rsp + 0x1f9], dil
mov byte [rsp + 0x1f8], dil
call qword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x140065d8c
xor edi, edi
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [0x140310d90], 1
jne 0x140065dd4
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x140310d60]
test rcx, rcx
je 0x140065dc0
call sub.gdiplus.dll_GdiplusShutdown
mov qword [0x140310d60], rdi
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add r14, 1
cmp r14, 9
lea rbx, [0x140272838]
jl 0x140064ab0
add esi, 1
mov dword [rsp + 0x2f8], esi
cmp esi, 7
lea rbx, [0x140272838]
jl 0x140064aa0
mov rbx, qword [r15 + 0xd0]
call fcn.1401dc36c
mov rcx, qword [rax + 0xc8]
or r8d, 0xffffffff
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.14006a5a0
mov dword [r15 + 0x120], edi
mov eax, dword [0x140311024]
test eax, eax
jne 0x140065e60
mov dword [0x140311020], 0x114
lea rcx, [0x140311020]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x140311024]
cmp eax, 6
jne 0x140065e6e
cmp dword [0x140311028], 0
je 0x140065e71
mov r12d, edi
mov dword [r15 + 0xc0], r12d
mov qword [rsp + 0x180], rbp
mov rcx, qword [rsp + 0x188]
test rcx, rcx
je 0x140065eda
mov qword [rsp + 0x188], rdi
mov qword [rsp + 0x190], rdi
mov dword [rsp + 0x198], edi
mov dword [rsp + 0x19c], edi
mov dword [rsp + reloc.OLEAUT32.dll_OleTranslateColor], edi
mov dword [rsp + 0x1a0], edi
mov dword [rsp + 0x1ac], 0xffffffff
mov byte [rsp + 0x1a9], 0
mov byte [rsp + 0x1a8], 0
call qword [sym.imp.GDI32.dll_DeleteObject]
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [0x140310d90], 1
jne 0x140065f22
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x140310d60]
test rcx, rcx
je 0x140065f0e
call sub.gdiplus.dll_GdiplusShutdown
mov qword [0x140310d60], rdi
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov qword [rsp + 0x90], rbp
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x140065f92
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], rdi
mov dword [rsp + 0xa8], edi
mov dword [rsp + 0xac], edi
mov dword [rsp + 0xb4], edi
mov dword [rsp + 0xb0], edi
mov dword [rsp + 0xbc], 0xffffffff
mov byte [rsp + 0xb9], 0
mov byte [rsp + 0xb8], 0
call qword [sym.imp.GDI32.dll_DeleteObject]
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [0x140310d90], 1
jne 0x140065fda
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x140310d60]
test rcx, rcx
je 0x140065fc6
call sub.gdiplus.dll_GdiplusShutdown
mov qword [0x140310d60], rdi
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov qword [rsp + 0x130], rbp
mov rcx, qword [rsp + 0x138]
test rcx, rcx
je 0x14006604a
mov qword [rsp + 0x138], rdi
mov qword [rsp + 0x140], rdi
mov dword [rsp + 0x148], edi
mov dword [rsp + 0x14c], edi
mov dword [rsp + 0x154], edi
mov dword [rsp + 0x150], edi
mov dword [rsp + 0x15c], 0xffffffff
mov byte [rsp + 0x159], 0
mov byte [rsp + 0x158], 0
call qword [sym.imp.GDI32.dll_DeleteObject]
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [0x140310d90], 1
jne 0x140066092
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x140310d60]
test rcx, rcx
je 0x14006607e
call sub.gdiplus.dll_GdiplusShutdown
mov qword [0x140310d60], rdi
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov qword [rsp + 0xe0], rbp
mov rcx, qword [rsp + 0xe8]
test rcx, rcx
je 0x140066102
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0xf0], rdi
mov dword [rsp + 0xf8], edi
mov dword [rsp + 0xfc], edi
mov dword [rsp + 0x104], edi
mov dword [rsp + 0x100], edi
mov dword [rsp + 0x10c], 0xffffffff
mov byte [rsp + 0x109], 0
mov byte [rsp + 0x108], 0
call qword [sym.imp.GDI32.dll_DeleteObject]
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [0x140310d90], 1
jne 0x14006614a
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x140310d60]
test rcx, rcx
je 0x140066136
call sub.gdiplus.dll_GdiplusShutdown
mov qword [0x140310d60], rdi
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x140310d68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rax, r15
movaps xmm6, xmmword [rsp + 0x290]
movaps xmm7, xmmword [rsp + 0x280]
add rsp, 0x2a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret