Function at 0x140056a10
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.1401f5f84
nop
lea rax, [0x14027e448]
mov qword [r15], rax
lea rax, [0x14027e6d0]
mov qword [r15 + 0xa8], rax
lea rcx, [r15 + 0xc8]
call fcn.1402039b4
nop
mov edx, 0xa
lea rcx, [r15 + 0xe8]
call fcn.1401fd394
lea r11, method.CPtrList.virtual_0
mov qword [r15 + 0xe8], r11
xor esi, esi
mov qword [r15 + 0x130], rsi
lea rax, [0x140267f10]
mov qword [r15 + 0x128], rax
call fcn.1401ffea8
test rax, rax
je 0x140056ad7
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
test rax, rax
je 0x140056ad7
mov rbx, qword [rax + 0xc0]
test rbx, rbx
jne 0x140056ace
mov rbx, rsi
jmp 0x140056ada
add dword [rbx + 0x1b70], 1
jmp 0x140056ada
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 0x140056b10
lea rax, [rbx + 0x1ac0]
mov qword [r15 + 0xe0], rax
lea rcx, [r15 + 0x138]
lea rdx, [0x140322540]
mov r8d, 0x48
call fcn.14022e920
test rbx, rbx
je 0x140056b4b
cmp qword [rbx + 0x548], 0
je 0x140056b4b
mov rcx, qword [rbx + 0x548]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0xe8]
movsd xmm0, qword [0x140322588]
movsd xmm1, qword [0x1402b8868]
mulsd xmm0, xmm1
cvttsd2si r8d, xmm0
movsd xmm0, qword [0x140322538]
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.140203f74
lea rsi, [r15 + 0x13c]
lea r13, str.PC_f_
lea r14, [0x14028b618]
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, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x14032ee10], 1
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x220], r14
mov qword [rsp + 0x268], rdi
call fcn.1401f2234
mov dword [rsp + 0x20], r12d
lea r9, [0x1402731c0]
mov r8d, dword [rsi]
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x220]
call fcn.1400c3530
mov rcx, qword [rsp + 0x228]
call fcn.1401fe890
test rax, rax
je 0x140056c82
mov rdi, qword [rax + 8]
mov rbx, qword [r15 + 0xd0]
call fcn.1401f2234
mov rcx, qword [rax + 0xc8]
mov r9d, 0xffffff
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.14002a530
nop
mov qword [rsp + 0x220], r13
mov rcx, qword [rsp + 0x228]
test rcx, rcx
je 0x140056d10
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 0x140056d12
xor edi, edi
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [0x14032ee10], 1
jne 0x140056d5a
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x14032ede0]
test rcx, rcx
je 0x140056d46
call sub.gdiplus.dll_GdiplusShutdown
mov qword [0x14032ede0], rdi
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsi, 8
sub rbp, 1
jne 0x140056bb0
lea rbp, str.PC_f_
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, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x14032ee10], 1
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rbx, [0x14028b618]
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, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x14032ee10], 1
lea rcx, [0x14032ede8]
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, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x14032ee10], 1
lea rcx, [0x14032ede8]
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, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x14032ee10], 1
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x1c8], rdi
call fcn.1401f2234
mov dword [rsp + 0x20], r12d
lea r9, [0x1402731c0]
mov r8d, 0x129
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0xe0]
call fcn.1400c3530
call fcn.1401f2234
mov dword [rsp + 0x20], r12d
lea r9, [0x1402731c0]
mov r8d, 0x12b
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x130]
call fcn.1400c3530
call fcn.1401f2234
mov dword [rsp + 0x20], r12d
lea r9, [0x1402731c0]
mov r8d, 0x127
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x90]
call fcn.1400c3530
call fcn.1401f2234
mov dword [rsp + 0x20], r12d
lea r9, [0x1402731c0]
mov r8d, 0x124
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x180]
call fcn.1400c3530
mov esi, edi
mov dword [rsp + 0x2f8], edi
lea r13, [0x140000000]
movsd xmm6, qword [0x1402ba618]
movsd xmm7, qword [0x1402b2a98]
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, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x14032ee10], 1
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x1d0], rbx
mov qword [rsp + 0x218], rdi
call fcn.1401f2234
mov dword [rsp + 0x20], r12d
lea r9, [0x1402731c0]
mov r8d, dword [r15 + r14*8 + 0x13c]
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x1d0]
call fcn.1400c3530
add dword [rsp + 0x208], 1
mov rcx, qword [rsp + 0x200]
test rcx, rcx
jne 0x1400571df
mov ecx, edi
nop
nop
movsxd rax, ecx
mov r8, rdi
xchg qword [r13 + rax*8 + 0x32edc0], r8
test r8, r8
jne 0x1400571b6
add ecx, 1
cmp ecx, 4
jl 0x140057190
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.1401fe41c
mov rbx, rax
cmp esi, 6
ja case.default.0x1400571fe
movsxd rcx, esi
mov edx, dword [r13 + rcx*4 + 0x58780]
add rdx, r13
jmp rdx
test rax, rax
jne 0x14005720a
mov rbx, rdi
jmp 0x14005720e
mov rbx, qword [rax + 8]
movsd xmm0, qword [0x140322588]
mulsd xmm0, xmm6
cvttsd2si ebp, xmm0
movsd xmm1, qword [0x140322538]
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 0x1400572cf
nop
nop
movsxd rax, ecx
xor r8d, r8d
xchg qword [r13 + rax*8 + 0x32edc0], r8
test r8, r8
jne 0x1400572a6
add ecx, 1
cmp ecx, 4
jl 0x140057280
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 0x140058269
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 + 0x32edc0], rcx
test rcx, rcx
je 0x14005735e
add edx, 1
cmp edx, 4
jl 0x140057340
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0x110], rdi
mov esi, dword [rsp + 0x2f8]
mov r12d, 1
lea rbp, str.PC_f_
jmp case.default.0x1400571fe
test rax, rax
jne 0x140057389
mov rbx, rdi
jmp 0x14005738d
mov rbx, qword [rax + 8]
movsd xmm0, qword [0x140322588]
mulsd xmm0, xmm6
cvttsd2si ebp, xmm0
movsd xmm1, qword [0x140322538]
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 0x14005744f
nop
nop
movsxd rax, ecx
xor r8d, r8d
xchg qword [r13 + rax*8 + 0x32edc0], r8
test r8, r8
jne 0x140057426
add ecx, 1
cmp ecx, 4
jl 0x140057400
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 0x140058253
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 + 0x32edc0], rcx
test rcx, rcx
je 0x1400574de
add edx, 1
cmp edx, 4
jl 0x1400574c0
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0x160], rdi
mov esi, dword [rsp + 0x2f8]
mov r12d, 1
lea rbp, str.PC_f_
jmp case.default.0x1400571fe
test rax, rax
jne 0x140057509
mov rbx, rdi
jmp 0x14005750d
mov rbx, qword [rax + 8]
movsd xmm0, qword [0x140322588]
mulsd xmm0, xmm6
cvttsd2si ebp, xmm0
movsd xmm1, qword [0x140322538]
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 0x1400575bf
nop
movsxd rax, ecx
xor r8d, r8d
xchg qword [r13 + rax*8 + 0x32edc0], r8
test r8, r8
jne 0x140057596
add ecx, 1
cmp ecx, 4
jl 0x140057570
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 0x14005823d
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 + 0x32edc0], rcx
test rcx, rcx
je 0x14005764e
add edx, 1
cmp edx, 4
jl 0x140057630
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0xc0], rdi
mov esi, dword [rsp + 0x2f8]
mov r12d, 1
lea rbp, str.PC_f_
jmp case.default.0x1400571fe
test rax, rax
je 0x140057678
mov rdi, qword [rax + 8]
movsd xmm0, qword [0x140322588]
mulsd xmm0, xmm6
cvttsd2si r12d, xmm0
movsd xmm1, qword [0x140322538]
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 0x14005772f
lea rdx, [0x140000000]
movsxd rax, ecx
xor r8d, r8d
xchg qword [rdx + rax*8 + 0x32edc0], r8
test r8, r8
jne 0x140057706
add ecx, 1
cmp ecx, 4
jl 0x1400576e0
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 0x1400577cc
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 + 0x32edc0], rcx
test rcx, rcx
je 0x1400577be
add edx, 1
cmp edx, 4
jl 0x1400577a0
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0x110], 0
jmp 0x1400577d3
lea r13, [0x140000000]
test rbx, rbx
je 0x1400577dc
mov rbx, qword [rbx + 8]
movsd xmm0, qword [0x140322588]
mulsd xmm0, xmm6
cvttsd2si ebp, xmm0
movsd xmm1, qword [0x140322538]
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 0x14005788f
nop
movsxd rax, ecx
xor r8d, r8d
xchg qword [r13 + rax*8 + 0x32edc0], r8
test r8, r8
jne 0x140057866
add ecx, 1
cmp ecx, 4
jl 0x140057840
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 0x140058227
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 + 0x32edc0], rcx
test rcx, rcx
je 0x14005791e
add edx, 1
cmp edx, 4
jl 0x140057900
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0x160], rdi
mov esi, dword [rsp + 0x2f8]
mov r12d, 1
lea rbp, str.PC_f_
jmp case.default.0x1400571fe
test rax, rax
je 0x140057948
mov rdi, qword [rax + 8]
movsd xmm0, qword [0x140322588]
mulsd xmm0, xmm6
cvttsd2si r12d, xmm0
movsd xmm1, qword [0x140322538]
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 0x1400579ff
lea rdx, [0x140000000]
movsxd rax, ecx
xor r8d, r8d
xchg qword [rdx + rax*8 + 0x32edc0], r8
test r8, r8
jne 0x1400579d6
add ecx, 1
cmp ecx, 4
jl 0x1400579b0
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 0x140057a9c
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 + 0x32edc0], rcx
test rcx, rcx
je 0x140057a8e
add edx, 1
cmp edx, 4
jl 0x140057a70
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0x110], 0
jmp 0x140057aa3
lea r13, [0x140000000]
test rbx, rbx
je 0x140057aac
mov rbx, qword [rbx + 8]
movsd xmm0, qword [0x140322588]
mulsd xmm0, xmm6
cvttsd2si ebp, xmm0
movsd xmm1, qword [0x140322538]
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 0x140057b5f
nop
movsxd rax, ecx
xor r8d, r8d
xchg qword [r13 + rax*8 + 0x32edc0], r8
test r8, r8
jne 0x140057b36
add ecx, 1
cmp ecx, 4
jl 0x140057b10
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 0x140058211
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 + 0x32edc0], rcx
test rcx, rcx
je 0x140057bee
add edx, 1
cmp edx, 4
jl 0x140057bd0
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0xc0], rdi
mov esi, dword [rsp + 0x2f8]
mov r12d, 1
lea rbp, str.PC_f_
jmp case.default.0x1400571fe
test rax, rax
je 0x140057c18
mov rdi, qword [rax + 8]
movsd xmm0, qword [0x140322588]
mulsd xmm0, xmm6
cvttsd2si r12d, xmm0
movsd xmm1, qword [0x140322538]
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 0x140057cdf
lea rdx, [0x140000000]
nop
movsxd rax, ecx
xor r8d, r8d
xchg qword [rdx + rax*8 + 0x32edc0], r8
test r8, r8
jne 0x140057cb6
add ecx, 1
cmp ecx, 4
jl 0x140057c90
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 0x140057d7c
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 + 0x32edc0], rcx
test rcx, rcx
je 0x140057d6e
add edx, 1
cmp edx, 4
jl 0x140057d50
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0x160], 0
jmp 0x140057d83
lea r13, [0x140000000]
test rbx, rbx
je 0x140057d8c
mov rbx, qword [rbx + 8]
movsd xmm0, qword [0x140322588]
mulsd xmm0, xmm6
cvttsd2si ebp, xmm0
movsd xmm1, qword [0x140322538]
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 0x140057e3f
nop
movsxd rax, ecx
xor r8d, r8d
xchg qword [r13 + rax*8 + 0x32edc0], r8
test r8, r8
jne 0x140057e16
add ecx, 1
cmp ecx, 4
jl 0x140057df0
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 0x1400581f8
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 + 0x32edc0], rcx
test rcx, rcx
je 0x140057ece
add edx, 1
cmp edx, 4
jl 0x140057eb0
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0xc0], rdi
mov esi, dword [rsp + 0x2f8]
mov r12d, 1
lea rbp, str.PC_f_
jmp case.default.0x1400571fe
cmp dword [r15 + 0xb8], 0
je 0x14005806f
test r14, r14
jne 0x14005806f
test rax, rax
jne 0x140057f10
mov rbx, rdi
jmp 0x140057f14
mov rbx, qword [rax + 8]
movsd xmm0, qword [0x140322588]
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 0x140057fbf
nop
nop
movsxd rax, ecx
xor r8d, r8d
xchg qword [r13 + rax*8 + 0x32edc0], r8
test r8, r8
jne 0x140057f96
add ecx, 1
cmp ecx, 4
jl 0x140057f70
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 0x1400581df
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 + 0x32edc0], rcx
test rcx, rcx
je 0x14005804e
add edx, 1
cmp edx, 4
jl 0x140058030
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0x1b0], rdi
mov esi, dword [rsp + 0x2f8]
mov r12d, 1
lea rbp, str.PC_f_
jmp case.default.0x1400571fe
test rax, rax
jne 0x140058079
mov rbx, rdi
jmp 0x14005807d
mov rbx, qword [rax + 8]
movsd xmm0, qword [0x140322588]
mulsd xmm0, xmm6
cvttsd2si ebp, xmm0
movsd xmm1, qword [0x140322538]
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 0x14005812f
nop
movsxd rax, ecx
xor r8d, r8d
xchg qword [r13 + rax*8 + 0x32edc0], r8
test r8, r8
jne 0x140058106
add ecx, 1
cmp ecx, 4
jl 0x1400580e0
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 0x14005827f
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 + 0x32edc0], rcx
test rcx, rcx
je 0x1400581be
add edx, 1
cmp edx, 4
jl 0x1400581a0
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0x1b0], rdi
mov esi, dword [rsp + 0x2f8]
mov r12d, 1
lea rbp, str.PC_f_
jmp case.default.0x1400571fe
mov esi, dword [rsp + 0x2f8]
xor edi, edi
lea r12d, [rdi + 1]
lea rbp, str.PC_f_
jmp case.default.0x1400571fe
mov esi, dword [rsp + 0x2f8]
xor edi, edi
lea r12d, [rdi + 1]
lea rbp, str.PC_f_
jmp case.default.0x1400571fe
mov esi, dword [rsp + 0x2f8]
xor edi, edi
lea r12d, [rdi + 1]
lea rbp, str.PC_f_
jmp case.default.0x1400571fe
mov esi, dword [rsp + 0x2f8]
xor edi, edi
lea r12d, [rdi + 1]
lea rbp, str.PC_f_
jmp case.default.0x1400571fe
mov esi, dword [rsp + 0x2f8]
xor edi, edi
lea r12d, [rdi + 1]
lea rbp, str.PC_f_
jmp case.default.0x1400571fe
mov esi, dword [rsp + 0x2f8]
xor edi, edi
lea r12d, [rdi + 1]
lea rbp, str.PC_f_
jmp case.default.0x1400571fe
mov esi, dword [rsp + 0x2f8]
xor edi, edi
lea r12d, [rdi + 1]
lea rbp, str.PC_f_
jmp case.default.0x1400571fe
mov esi, dword [rsp + 0x2f8]
xor edi, edi
lea r12d, [rdi + 1]
lea rbp, str.PC_f_
sub dword [rsp + 0x208], 1
jne 0x1400582e6
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 + 0x32edc0], rcx
test rcx, rcx
je 0x1400582de
add edx, 1
cmp edx, 4
jl 0x1400582c0
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rsp + 0x200], rdi
mov rcx, qword [rsp + 0x1d8]
call fcn.1401fe890
test rax, rax
je 0x1400582fc
mov rdi, qword [rax + 8]
mov rbx, qword [r15 + 0xd0]
call fcn.1401f2234
mov rcx, qword [rax + 0xc8]
mov r9d, 0xffffff
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.14002a530
nop
mov qword [rsp + 0x1d0], rbp
mov rcx, qword [rsp + 0x1d8]
test rcx, rcx
je 0x14005838a
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 0x14005838c
xor edi, edi
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [0x14032ee10], 1
jne 0x1400583d4
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x14032ede0]
test rcx, rcx
je 0x1400583c0
call sub.gdiplus.dll_GdiplusShutdown
mov qword [0x14032ede0], rdi
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add r14, 1
cmp r14, 9
lea rbx, [0x14028b618]
jl 0x1400570b0
add esi, 1
mov dword [rsp + 0x2f8], esi
cmp esi, 7
lea rbx, [0x14028b618]
jl 0x1400570a0
mov rbx, qword [r15 + 0xd0]
call fcn.1401f2234
mov rcx, qword [rax + 0xc8]
or r8d, 0xffffffff
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.14005cba0
mov dword [r15 + 0x120], edi
mov eax, dword [0x14032f0e4]
test eax, eax
jne 0x140058460
mov dword [0x14032f0e0], 0x114
lea rcx, [0x14032f0e0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x14032f0e4]
cmp eax, 6
jne 0x14005846e
cmp dword [0x14032f0e8], 0
je 0x140058471
mov r12d, edi
mov dword [r15 + 0xc0], r12d
mov qword [rsp + 0x180], rbp
mov rcx, qword [rsp + 0x188]
test rcx, rcx
je 0x1400584da
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, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [0x14032ee10], 1
jne 0x140058522
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x14032ede0]
test rcx, rcx
je 0x14005850e
call sub.gdiplus.dll_GdiplusShutdown
mov qword [0x14032ede0], rdi
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov qword [rsp + 0x90], rbp
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x140058592
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, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [0x14032ee10], 1
jne 0x1400585da
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x14032ede0]
test rcx, rcx
je 0x1400585c6
call sub.gdiplus.dll_GdiplusShutdown
mov qword [0x14032ede0], rdi
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov qword [rsp + 0x130], rbp
mov rcx, qword [rsp + 0x138]
test rcx, rcx
je 0x14005864a
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, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [0x14032ee10], 1
jne 0x140058692
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x14032ede0]
test rcx, rcx
je 0x14005867e
call sub.gdiplus.dll_GdiplusShutdown
mov qword [0x14032ede0], rdi
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov qword [rsp + 0xe0], rbp
mov rcx, qword [rsp + 0xe8]
test rcx, rcx
je 0x140058702
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, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [0x14032ee10], 1
jne 0x14005874a
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x14032ede0]
test rcx, rcx
je 0x140058736
call sub.gdiplus.dll_GdiplusShutdown
mov qword [0x14032ede0], rdi
lea rcx, [0x14032ede8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x14032ede8]
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