Function at 0x6901ef20
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x188
mov eax, dword [ecx + 0x20]
movss xmm7, dword [ecx + 0x10]
movss xmm6, dword [ecx + 0x14]
test byte [0x6907a0c8], 8
mov dword [ebp - 0xdc], eax
mov eax, dword [ecx + 0x24]
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov dword [ebp - 0xec], eax
mov eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0xc]
movss xmm1, dword [ecx + 0x18]
movss xmm0, dword [ecx + 0x1c]
movss dword [ebp - 0xe4], xmm7
mov ecx, dword [ecx + 0x2c]
movss dword [ebp - 0xe8], xmm6
mov dword [ebp - 0xe0], eax
jne 0x6901f110
cmp edx, 3
jg 0x6901f1dc
test esi, esi
je 0x6901f0f0
test edi, edi
je 0x6901f0f0
test ebx, ebx
lea esi, [esi]
je 0x6901f0f0
cmp edx, 3
jne 0x6901f0f0
test byte [0x6907a0c8], 8
jne 0x6901f4a0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x6901efdd
cmp dword [esi + 0x18], 2
je 0x6901f1f0
xor eax, eax
mov edx, dword [ebx + eax]
mov dword [ebp + eax - 0x80], edx
add eax, 4
cmp eax, 0x18
jb 0x6901efdf
pxor xmm5, xmm5
comiss xmm5, xmm1
ja 0x6901f540
movss xmm4, dword [ebp - 0x7c]
movss xmm6, dword [ebp - 0x80]
movss xmm5, dword [ebp - 0x6c]
movss dword [ebp - 0xe0], xmm4
movss xmm4, dword [ebp - 0x70]
movss xmm2, dword [ebp - 0x78]
pxor xmm7, xmm7
movss xmm3, dword [ebp - 0x74]
comiss xmm7, xmm0
addss xmm2, xmm4
addss xmm3, xmm5
subss xmm2, xmm6
subss xmm3, dword [ebp - 0xe0]
jbe 0x6901f096
mov eax, dword [ebp - 0x80]
movss dword [ebp - 0x78], xmm2
mov edx, dword [ebp - 0x7c]
movss xmm7, dword [ebp - 0xe8]
movss dword [ebp - 0x74], xmm3
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
addss xmm7, xmm0
addss xmm2, dword [ebp - 0x70]
addss xmm3, dword [ebp - 0x6c]
movss dword [ebp - 0xe8], xmm7
movss dword [ebp - 0x80], xmm4
subss xmm2, xmm4
movss dword [ebp - 0x7c], xmm5
subss xmm3, xmm5
movss dword [ebp - 0xe0], xmm5
xorps xmm0, xmmword [0x6907fb80]
movups xmm6, xmm4
pxor xmm5, xmm5
movss dword [ebp - 0x68], xmm2
movss dword [ebp - 0x64], xmm3
ucomiss xmm1, xmm5
jp 0x6901f260
jne 0x6901f260
xor ebx, ebx
mov dword [ebp - 0xe0], ebx
jmp 0x6901f0fb
test byte [0x6907a0c8], 4
je 0x6901f0f0
mov dword [esp], 2
mov eax, str.GpImage_with_nothing_we_can_draw__metafile_in_wrong_state___n
mov dword [esp + 0xc], eax
mov eax, str.GdipDrawImagePointsRect
mov dword [esp + 8], eax
mov eax, 0x6907a0c8
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0_4
mov edi, 2
mov dword [ebp - 0xe0], edi
mov eax, dword [ebp - 0xe0]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x30
mov dword [esp + 0x48], eax
mov eax, dword [ebp - 0xec]
pxor xmm2, xmm2
mov dword [esp + 0x1c], edx
cvtss2sd xmm2, xmm0
movsd qword [esp + 0x38], xmm2
mov dword [esp + 0x18], ebx
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
mov dword [esp + 0x14], edi
movsd qword [esp + 0x30], xmm2
pxor xmm2, xmm2
mov dword [esp + 0x44], eax
mov eax, dword [ebp - 0xdc]
cvtss2sd xmm2, xmm6
mov dword [esp + 0x10], esi
movsd qword [esp + 0x28], xmm2
pxor xmm2, xmm2
mov dword [esp], 3
cvtss2sd xmm2, xmm7
movsd qword [esp + 0x20], xmm2
movss dword [ebp - 0xf8], xmm0
mov dword [esp + 0x40], eax
mov eax, str.__p___p___p___d___f___f___f___f___d___p___p___p__n
mov dword [esp + 0xc], eax
mov eax, str.GdipDrawImagePointsRect
mov dword [esp + 8], eax
mov eax, 0x6907a0c8
mov dword [esp + 4], eax
movss dword [ebp - 0xf4], xmm1
mov dword [esp + 0x4c], ecx
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xf0], edx
call sym._wine_dbg_log.constprop.0_4
mov edx, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xfc]
movss xmm0, dword [ebp - 0xf8]
movss xmm1, dword [ebp - 0xf4]
cmp edx, 3
jle 0x6901ef9a
mov esi, 6
mov dword [ebp - 0xe0], esi
jmp 0x6901f0fb
mov esi, dword [ebp - 0xe0]
mov edx, 3
movss xmm4, dword [ebp - 0xe8]
movss xmm6, dword [ebp - 0xe4]
movss dword [esp + 0x1c], xmm0
mov dword [esp + 0x28], esi
mov esi, dword [ebp - 0xec]
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x14], xmm4
movss dword [esp + 0x10], xmm6
mov dword [esp + 0x24], esi
mov esi, dword [ebp - 0xdc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._METAFILE_DrawImagePointsRect
mov dword [ebp - 0xe0], eax
jmp 0x6901f0fb
pxor xmm4, xmm4
ucomiss xmm0, xmm4
jp 0x6901f26f
je 0x6901f0b3
ucomiss xmm2, xmm6
jp 0x6901f290
jne 0x6901f290
movss xmm5, dword [ebp - 0xe0]
ucomiss xmm5, xmm3
jnp 0x6901f488
lea esi, [esi]
nop
mov dword [esp], esi
lea eax, [ebp - 0x80]
mov ecx, 4
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 4], eax
movss dword [ebp - 0xf0], xmm0
movss dword [ebp - 0xe0], xmm1
call sym._gdip_transform_points
lea edx, [ebp - 0x80]
mov ecx, 4
lea eax, [ebp - 0x60]
call sym._round_points
test byte [0x6907a0c8], 8
movss xmm1, dword [ebp - 0xe0]
movss xmm0, dword [ebp - 0xf0]
jne 0x6901fe90
movss dword [ebp - 0xf0], xmm0
mov eax, dword [esi + 0x10]
movss xmm5, dword [ebp - 0xe4]
movss dword [ebp - 0xe0], xmm1
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xdc]
movss xmm2, dword [edi + 0x2c]
movss dword [esp], xmm5
movss dword [esp + 8], xmm2
mov dword [esp + 4], eax
call sym._units_to_pixels
mov eax, dword [esi + 0x10]
movss xmm4, dword [ebp - 0xe8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xdc]
movss xmm2, dword [edi + 0x30]
movss dword [esp], xmm4
fstp dword [ebp - 0xf4]
movss dword [esp + 8], xmm2
mov dword [esp + 4], eax
call sym._units_to_pixels
mov eax, dword [esi + 0x10]
movss xmm1, dword [ebp - 0xe0]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xdc]
movss xmm2, dword [edi + 0x2c]
movss dword [esp], xmm1
fstp dword [ebp - 0xe8]
movss dword [esp + 8], xmm2
mov dword [esp + 4], eax
call sym._units_to_pixels
mov eax, dword [esi + 0x10]
movss xmm0, dword [ebp - 0xf0]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xdc]
movss xmm1, dword [edi + 0x30]
movss dword [esp], xmm0
fstp dword [ebp - 0xe4]
movss dword [esp + 8], xmm1
mov dword [esp + 4], eax
call sym._units_to_pixels
test byte [0x6907a0c8], 8
fstp dword [ebp - 0xf0]
jne 0x6901f5b8
mov eax, dword [edi + 8]
cmp eax, 1
je 0x6901f6e4
cmp eax, 2
jne 0x6901f0c0
mov edx, dword [edi + 0x50]
test edx, edx
je 0x6901f0c0
mov eax, dword [ebp - 0xec]
movss xmm7, dword [ebp - 0xf4]
movss xmm4, dword [ebp - 0xe8]
movss xmm6, dword [ebp - 0xe4]
mov dword [esp + 0x20], eax
mov eax, sym._play_metafile_proc_20
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xdc]
movss xmm5, dword [ebp - 0xf0]
mov dword [esp + 0x1c], edi
mov dword [esp + 8], ebx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x40]
mov dword [esp + 0x10], eax
mov eax, 3
mov dword [esp + 0xc], eax
mov dword [esp + 4], edi
mov dword [esp], esi
movss dword [ebp - 0x40], xmm7
movss dword [ebp - 0x3c], xmm4
movss dword [ebp - 0x38], xmm6
movss dword [ebp - 0x34], xmm5
call sym.gdiplus.dll_GdipEnumerateMetafileSrcRectDestPoints
mov dword [ebp - 0xe0], eax
sub esp, 0x24
jmp 0x6901f0fb
mov eax, 0
mov dword [ebp - 0xe0], eax
je 0x6901f0fb
jmp 0x6901f290
movss dword [ebp - 0xfc], xmm0
lea eax, [ebx + 0x10]
mov dword [esp], eax
movss dword [ebp - 0xf8], xmm1
mov dword [ebp - 0x100], ecx
call sym._debugstr_pointf
mov dword [ebp - 0xf0], eax
lea eax, [ebx + 8]
mov dword [esp], eax
call sym._debugstr_pointf
mov dword [esp], ebx
mov dword [ebp - 0xf4], eax
call sym._debugstr_pointf
mov edx, dword [ebp - 0xf0]
mov ecx, str._s__s__s_n
mov dword [esp + 0xc], ecx
mov dword [esp], 3
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0xf4]
mov dword [esp + 0x10], eax
mov eax, str.GdipDrawImagePointsRect
mov dword [esp + 8], eax
mov eax, 0x6907a0c8
mov dword [esp + 0x14], edx
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0_4
mov ecx, dword [ebp - 0x100]
movss xmm0, dword [ebp - 0xfc]
movss xmm1, dword [ebp - 0xf8]
jmp 0x6901efcc
movss xmm3, dword [ebp - 0x74]
movss xmm5, dword [ebp - 0xe4]
movss xmm7, dword [ebp - 0x6c]
movss xmm6, dword [ebp - 0x78]
movss xmm4, dword [ebp - 0x70]
addss xmm5, xmm1
addss xmm7, xmm3
mov eax, dword [ebp - 0x80]
movss dword [ebp - 0xe0], xmm3
mov edx, dword [ebp - 0x7c]
movss dword [ebp - 0xe4], xmm5
addss xmm4, xmm6
movups xmm5, xmm7
subss xmm4, dword [ebp - 0x80]
subss xmm5, dword [ebp - 0x7c]
movss dword [ebp - 0x80], xmm6
movss dword [ebp - 0x70], xmm4
movss dword [ebp - 0x6c], xmm5
movss dword [ebp - 0x7c], xmm3
xorps xmm1, xmmword [0x6907fb80]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
jmp 0x6901f017
mov dword [esp], 3
mov eax, str.src_pixels:__f__f__fx_f_n
pxor xmm0, xmm0
mov dword [esp + 0xc], eax
mov eax, str.GdipDrawImagePointsRect
cvtss2sd xmm0, dword [ebp - 0xf0]
mov dword [esp + 8], eax
mov eax, 0x6907a0c8
movsd qword [esp + 0x28], xmm0
mov dword [esp + 4], eax
pxor xmm0, xmm0
cvtss2sd xmm0, dword [ebp - 0xe4]
movsd qword [esp + 0x20], xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [ebp - 0xe8]
movsd qword [esp + 0x18], xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [ebp - 0xf4]
movsd qword [esp + 0x10], xmm0
call sym._wine_dbg_log.constprop.0_4
mov eax, dword [edi + 8]
cmp eax, 1
jne 0x6901f3ed
test byte [0x6907a0c8], 8
je 0x6901f6e4
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x69020040
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0x14]
xor edx, edx
pxor xmm2, xmm2
pxor xmm1, xmm1
pxor xmm0, xmm0
mov ecx, dword [edi + 0x40]
cvtss2sd xmm2, dword [edi + 0x30]
cvtss2sd xmm1, dword [edi + 0x2c]
cvtss2sd xmm0, dword [esi + 0x38]
test eax, eax
je 0x6901f681
cmp dword [eax + 8], 1
jne 0x6901f681
mov edx, dword [eax + 0x40]
mov dword [esp + 0x3c], ecx
mov eax, str.graphics:__.2fx_.2f_dpi__fmt__x__scale__f__image:__.2fx_.2f_dpi__fmt__x__color__08lx_n
mov ecx, 0x6907a0c8
mov dword [esp + 0x20], edx
mov edx, str.GdipDrawImagePointsRect
movsd qword [esp + 0x24], xmm0
mov dword [esp + 0x40], ebx
movsd qword [esp + 0x34], xmm2
movsd qword [esp + 0x2c], xmm1
pxor xmm0, xmm0
cvtss2sd xmm0, dword [esi + 0x40]
movsd qword [esp + 0x18], xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [esi + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
movsd qword [esp + 0x10], xmm0
mov dword [esp + 4], ecx
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
movss xmm0, dword [ebp - 0x7c]
ucomiss xmm0, dword [ebp - 0x74]
jp 0x6901f920
jne 0x6901f920
movss xmm1, dword [ebp - 0x80]
ucomiss xmm1, dword [ebp - 0x70]
jp 0x6901f920
jne 0x6901f920
movss xmm2, dword [ebp - 0x78]
movss xmm4, dword [ebp - 0xe4]
subss xmm2, xmm1
ucomiss xmm2, xmm4
jp 0x6901f920
jne 0x6901f920
movss xmm1, dword [ebp - 0x6c]
movss xmm5, dword [ebp - 0xf0]
subss xmm1, xmm0
ucomiss xmm1, xmm5
jp 0x6901f920
jne 0x6901f920
movss xmm7, dword [ebp - 0xf4]
pxor xmm6, xmm6
comiss xmm6, xmm7
ja 0x6901f920
movups xmm3, xmm6
movss xmm6, dword [ebp - 0xe8]
comiss xmm3, xmm6
ja 0x6901f920
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [edi + 0x38]
addss xmm7, xmm4
comiss xmm7, xmm1
ja 0x6901f920
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [edi + 0x3c]
addss xmm6, xmm5
comiss xmm6, xmm1
ja 0x6901f920
cmp dword [ebp - 0xec], 0
jne 0x69020bb4
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x108], eax
test eax, eax
jne 0x6901ffde
mov eax, dword [esi + 0x14]
test eax, eax
je 0x6901f7d2
cmp dword [eax + 8], 1
je 0x6901fff0
mov eax, dword [edi + 0x40]
cmp eax, 0x21005
setne dl
cmp eax, 0x21808
setne cl
and dl, cl
cmp eax, 0x22009
setne cl
test dl, cl
je 0x6901f7fe
cmp eax, 0xe200b
jne 0x69020950
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x69020a88
mov dword [ebp - 0xb0], eax
xor eax, eax
mov dword [ebp - 0xe0], eax
mov eax, dword [edi + 0x50]
lea ebx, [ebp - 0x40]
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0xdc], eax
test eax, eax
je 0x690204d6
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_SaveDC]
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0xf8], eax
sub esp, 4
mov eax, esi
call sym._get_clip_hrgn
test eax, eax
je 0x69020477
mov dword [esp], esi
call sym._gdi_transform_acquire
test dword [edi + 0x40], 0xc0000
cvttss2si ecx, dword [ebp - 0xf0]
cvttss2si eax, dword [ebp - 0xe4]
cvttss2si edx, dword [ebp - 0xe8]
cvttss2si ebx, dword [ebp - 0xf4]
mov edi, dword [ebp - 0x60]
je 0x6902036e
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xdc]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [esp + 0x10], edx
mov edx, edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x4c]
sub eax, ecx
mov ecx, dword [ebp - 0x5c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x58]
sub eax, edi
mov dword [esp], eax
mov eax, esi
call sym._gdi_alpha_blend
mov dword [esp], esi
call sym._gdi_transform_release
mov eax, dword [ebp - 0xf8]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_RestoreDC]
mov ebx, dword [ebp - 0x108]
sub esp, 8
test ebx, ebx
jne 0x690204a9
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x6901f0b3
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_DeleteObject]
sub esp, 4
jmp 0x6901f0b3
mov edx, dword [ebp - 0xec]
mov eax, 1
mov dword [ebp - 0x108], eax
test edx, edx
je 0x6901fff0
mov dword [ebp - 0x40], 0
mov eax, dword [esi + 0x24]
movss xmm0, dword [0x6907fba0]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x10c], eax
mov eax, dword [esi + 0x28]
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x2c], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x60]
lea ebx, [ebp - 0x48]
mov dword [ebp - 0xe0], ebx
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x60]
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x104], edi
mov dword [ebp - 0xdc], edx
mov edi, edx
mov ebx, ecx
mov esi, ecx
mov edx, dword [eax + 8]
cmp edi, edx
mov ecx, edx
cmovg edi, edx
cmp dword [ebp - 0xdc], edx
mov edx, dword [eax + 0xc]
cmovge ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xdc], ecx
cmp esi, edx
cmovg esi, edx
cmp ebx, edx
cmovl ebx, edx
add eax, 8
cmp dword [ebp - 0xe0], eax
jne 0x6901f9a3
mov dword [ebp - 0xf8], esi
mov esi, dword [ebp - 0xfc]
lea edx, [ebp - 0xd0]
mov dword [ebp - 0x100], edi
mov edi, dword [ebp - 0x104]
mov eax, esi
call sym._get_graphics_device_bounds
mov dword [ebp - 0xe0], eax
test eax, eax
jne 0x6901f0fb
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [ebp - 0x100]
movss xmm1, dword [ebp - 0xd0]
comiss xmm1, xmm0
jbe 0x6901fa89
movsd xmm4, qword [0x6907fb58]
pxor xmm0, xmm0
movsd xmm3, qword [0x6907fb60]
cvtss2sd xmm0, xmm1
movupd xmm2, xmm0
andpd xmm2, xmm3
ucomisd xmm4, xmm2
jbe 0x6901fa7b
andnpd xmm3, xmm0
addsd xmm2, xmm4
subsd xmm2, xmm4
orpd xmm2, xmm3
movsd xmm3, qword [0x6907fb48]
movupd xmm4, xmm2
cmpnlesd xmm4, xmm0
movupd xmm0, xmm4
andpd xmm0, xmm3
subsd xmm2, xmm0
movupd xmm0, xmm2
cvtsd2ss xmm0, xmm0
cvttss2si eax, xmm0
mov dword [ebp - 0x100], eax
pxor xmm2, xmm2
cvtsi2ss xmm2, dword [ebp - 0xf8]
movss xmm0, dword [ebp - 0xcc]
comiss xmm0, xmm2
jbe 0x6901fb07
movsd xmm5, qword [0x6907fb58]
pxor xmm2, xmm2
movsd xmm4, qword [0x6907fb60]
cvtss2sd xmm2, xmm0
movupd xmm3, xmm2
andpd xmm3, xmm4
ucomisd xmm5, xmm3
jbe 0x6901faf9
andnpd xmm4, xmm2
addsd xmm3, xmm5
subsd xmm3, xmm5
orpd xmm3, xmm4
movsd xmm4, qword [0x6907fb48]
movupd xmm5, xmm3
cmpnlesd xmm5, xmm2
movupd xmm2, xmm5
andpd xmm2, xmm4
subsd xmm3, xmm2
movupd xmm2, xmm3
cvtsd2ss xmm2, xmm2
cvttss2si eax, xmm2
mov dword [ebp - 0xf8], eax
pxor xmm2, xmm2
cvtsi2ss xmm2, dword [ebp - 0xdc]
addss xmm1, dword [ebp - 0xc8]
comiss xmm2, xmm1
jbe 0x6901fb79
movsd xmm4, qword [0x6907fb58]
cvtss2sd xmm1, xmm1
movsd xmm3, qword [0x6907fb60]
movupd xmm2, xmm1
andpd xmm2, xmm3
ucomisd xmm4, xmm2
jbe 0x6901fb6b
andnpd xmm3, xmm1
addsd xmm2, xmm4
subsd xmm2, xmm4
movsd xmm4, qword [0x6907fb48]
orpd xmm2, xmm3
cmpnlesd xmm1, xmm2
andpd xmm1, xmm4
addsd xmm1, xmm2
orpd xmm1, xmm3
cvtsd2ss xmm1, xmm1
cvttss2si eax, xmm1
mov dword [ebp - 0xdc], eax
pxor xmm1, xmm1
cvtsi2ss xmm1, ebx
addss xmm0, dword [ebp - 0xc4]
comiss xmm1, xmm0
jbe 0x6901fbe1
movsd xmm3, qword [0x6907fb58]
cvtss2sd xmm0, xmm0
movsd xmm2, qword [0x6907fb60]
movupd xmm1, xmm0
andpd xmm1, xmm2
ucomisd xmm3, xmm1
jbe 0x6901fbd9
andnpd xmm2, xmm0
addsd xmm1, xmm3
subsd xmm1, xmm3
movsd xmm3, qword [0x6907fb48]
orpd xmm1, xmm2
cmpnlesd xmm0, xmm1
andpd xmm0, xmm3
addsd xmm0, xmm1
orpd xmm0, xmm2
cvtsd2ss xmm0, xmm0
cvttss2si ebx, xmm0
test byte [0x6907a0c8], 8
jne 0x6901ff80
cmp dword [ebp - 0xf8], ebx
jge 0x6901f0fb
mov edx, dword [ebp - 0x100]
cmp dword [ebp - 0xdc], edx
jle 0x6901f0fb
movss xmm1, dword [ebp - 0x7c]
movss xmm3, dword [ebp - 0x74]
movss xmm7, dword [ebp - 0xe4]
movss xmm5, dword [ebp - 0x6c]
subss xmm3, xmm1
lea eax, [ebp - 0xb0]
movss xmm6, dword [ebp - 0xf0]
movss xmm0, dword [ebp - 0x80]
subss xmm5, xmm1
divss xmm3, xmm7
movss xmm2, dword [ebp - 0x78]
movss xmm4, dword [ebp - 0x70]
mov dword [esp], eax
subss xmm2, xmm0
subss xmm4, xmm0
divss xmm5, xmm6
movss dword [esp + 8], xmm3
divss xmm2, xmm7
movss xmm7, dword [ebp - 0xf4]
movss dword [esp + 0x10], xmm5
divss xmm4, xmm6
movups xmm6, xmm7
movss dword [esp + 4], xmm2
mulss xmm6, xmm3
movss dword [esp + 0xc], xmm4
mulss xmm7, xmm2
subss xmm1, xmm6
movss xmm6, dword [ebp - 0xe8]
subss xmm0, xmm7
mulss xmm6, xmm5
subss xmm1, xmm6
movss dword [esp + 0x18], xmm1
movss xmm1, dword [ebp - 0xe8]
mulss xmm1, xmm4
subss xmm0, xmm1
movss dword [esp + 0x14], xmm0
call sym.gdiplus.dll_GdipSetMatrixElements
lea eax, [ebp - 0xb0]
sub esp, 0x1c
mov dword [esp], eax
call sym.gdiplus.dll_GdipInvertMatrix
mov dword [ebp - 0xe0], eax
sub esp, 4
test eax, eax
jne 0x6901f0fb
mov eax, dword [ebp - 0x108]
test eax, eax
jne 0x6902055e
mov ecx, dword [ebp - 0x100]
pxor xmm0, xmm0
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [ebp - 0x60]
mov edx, dword [ebp - 0xdc]
cvtsi2ss xmm0, ecx
addss xmm0, dword [ebp - 0xf4]
sub edx, ecx
mov dword [ebp - 0xb8], edx
mov ecx, dword [ebp - 0xf8]
subss xmm0, xmm1
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [ebp - 0x5c]
cvttss2si eax, xmm0
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [ebp - 0xf8]
mov dword [ebp - 0xc0], eax
addss xmm0, dword [ebp - 0xe8]
subss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 0xbc], eax
mov eax, ebx
sub eax, ecx
mov dword [ebp - 0xb4], eax
test byte [0x6907a0c8], 8
jne 0x6902051e
imul edx, eax
mov ecx, dword fs:[0x18]
lea eax, [edx*4]
mov dword [esp + 8], eax
mov eax, 8
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x104], eax
call eax
mov dword [ebp - 0x114], eax
sub esp, 0xc
test eax, eax
mov ecx, eax
je 0x69020bc3
mov dword [ebp - 0x88], ecx
mov eax, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb4]
shl eax, 2
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x108]
test eax, eax
jne 0x6901fe11
cmp dword [edi + 0x40], 0xe200b
je 0x69020b38
mov eax, 0x26200a
mov dword [ebp - 0x8c], eax
mov eax, 0x26200a
mov dword [esp + 0xc], eax
lea edx, [ebp - 0x98]
mov eax, 5
mov dword [esp + 8], eax
lea eax, [ebp - 0xc0]
mov dword [esp + 0x10], edx
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.gdiplus.dll_GdipBitmapLockBits
lea edx, [ebp - 0x98]
mov dword [ebp - 0xe0], eax
sub esp, 0x14
test eax, eax
je 0x69020047
mov edi, dword [ebp - 0x114]
xor ebx, ebx
mov dword [esp + 4], ebx
mov eax, dword fs:[0x18]
mov dword [esp + 8], edi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x6901f0fb
mov dword [esp], str.__d__d_
mov eax, dword [ebp - 0x44]
movss dword [ebp - 0xfc], xmm0
movss dword [ebp - 0xf8], xmm1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov dword [esp], str.__d__d_
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov dword [esp], str.__d__d_
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov dword [esp], str.__d__d_
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov edx, dword [ebp - 0xf0]
mov dword [esp], 3
mov ecx, dword [ebp - 0xf4]
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0xe0]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
mov eax, str._s__s__s__s_n
mov dword [esp + 0xc], eax
mov eax, str.GdipDrawImagePointsRect
mov dword [esp + 0x14], edx
mov edx, 0x6907a0c8
mov dword [esp + 8], eax
mov dword [esp + 4], edx
call sym._wine_dbg_log.constprop.0_4
movss xmm0, dword [ebp - 0xfc]
movss xmm1, dword [ebp - 0xf8]
jmp 0x6901f2f4
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0xdc]
mov dword [esp], str.__d__d____d__d_
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xf8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x100]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov dword [esp], 3
mov dword [esp + 0x10], eax
mov eax, str.dst_area:__s_n
mov dword [esp + 0xc], eax
mov eax, str.GdipDrawImagePointsRect
mov dword [esp + 8], eax
mov eax, 0x6907a0c8
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0_4
jmp 0x6901fbee
mov dword [ebp - 0x108], 0
lea esi, [esi]
nop
mov eax, dword [esi + 0x24]
mov ecx, 0x6907f3e0
movss xmm0, dword [0x6907fba0]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x10c], eax
mov eax, dword [esi + 0x28]
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x2c], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0xec], ecx
jmp 0x6901f979
xor ebx, ebx
jmp 0x6901f651
mov dword [esp + 4], edx
mov dword [esp], edi
call sym.gdiplus.dll_GdipBitmapUnlockBits
mov dword [ebp - 0xe0], eax
sub esp, 8
test eax, eax
jne 0x6901fe61
mov eax, dword [ebp - 0x8c]
mov edx, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x120]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xb4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x114]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xec]
mov dword [esp], eax
call sym._apply_image_attributes
mov ecx, dword [ebp - 0x100]
mov eax, ebx
mov edx, dword [ebp - 0xdc]
sub edx, ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x138], edx
sub eax, ecx
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x13c], eax
test ecx, ecx
je 0x6902093d
lea ecx, [edx*4]
mov dword [ebp - 0xfc], ecx
imul eax, ecx
mov edx, dword fs:[0x18]
mov dword [ebp - 0x118], edx
mov dword [esp + 8], eax
mov eax, 8
mov dword [esp + 4], eax
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x104]
call eax
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x108], eax
sub esp, 0xc
test eax, eax
je 0x69020b81
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x120], eax
mov eax, 3
mov dword [esp + 8], eax
lea eax, [ebp - 0x40]
mov dword [esp + 4], eax
lea eax, [ebp - 0xb0]
mov dword [esp], eax
call sym.gdiplus.dll_GdipTransformMatrixPoints
mov eax, dword [ebp - 0x100]
movss xmm3, dword [ebp - 0x40]
movss xmm0, dword [ebp - 0x38]
movss xmm2, dword [ebp - 0x3c]
movss xmm7, dword [ebp - 0x30]
movss xmm6, dword [ebp - 0x2c]
subss xmm0, xmm3
movss xmm4, dword [ebp - 0xf4]
sub esp, 0xc
mov dword [ebp - 0x104], eax
subss xmm7, xmm3
movss dword [ebp - 0x118], xmm0
subss xmm6, xmm2
movss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0xf4], xmm7
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x134], edi
subss xmm0, xmm2
movss dword [ebp - 0x11c], xmm0
lea esi, [esi]
lea esi, [esi]
nop
mov edi, dword [ebp - 0x108]
pxor xmm5, xmm5
mov eax, dword [ebp - 0xe0]
cvtsi2ss xmm5, dword [ebp - 0x104]
movss xmm7, dword [ebp - 0x118]
mov esi, dword [ebp - 0xf8]
add edi, eax
mulss xmm7, xmm5
mulss xmm5, dword [ebp - 0x11c]
jmp 0x6902021a
movss xmm3, dword [ebp - 0x40]
movss xmm2, dword [ebp - 0x3c]
pxor xmm0, xmm0
cvtsi2ss xmm0, esi
movss xmm1, dword [ebp - 0xf4]
addss xmm3, xmm7
addss xmm2, xmm5
mulss xmm1, xmm0
mulss xmm0, xmm6
addss xmm1, xmm3
addss xmm0, xmm2
movss dword [ebp - 0xd8], xmm1
comiss xmm1, xmm4
movss dword [ebp - 0xd4], xmm0
jb 0x69020290
movss xmm2, dword [ebp - 0xe4]
addss xmm2, xmm4
comiss xmm2, xmm1
jbe 0x69020290
movss xmm3, dword [ebp - 0xe8]
comiss xmm0, xmm3
jb 0x69020290
movss xmm1, dword [ebp - 0xf0]
addss xmm1, xmm3
comiss xmm1, xmm0
ja 0x690202d5
lea esi, [esi]
lea esi, [esi]
mov dword [edi], 0
mov eax, dword [ebp - 0xfc]
inc esi
add edi, eax
cmp ebx, esi
jg 0x69020210
inc dword [ebp - 0x104]
add dword [ebp - 0xe0], 4
mov eax, dword [ebp - 0x104]
cmp dword [ebp - 0xdc], eax
jle 0x690203c3
movss xmm3, dword [ebp - 0x40]
movss xmm2, dword [ebp - 0x3c]
jmp 0x690201d0
movss dword [ebp - 0x130], xmm6
mov eax, dword [ebp - 0x134]
movss dword [ebp - 0x12c], xmm4
mov edx, dword [ebp - 0x110]
movss dword [ebp - 0x128], xmm5
movss dword [ebp - 0x124], xmm7
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x10c]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0xec]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0xd4]
mov dword [esp + 8], edx
lea edx, [ebp - 0xd8]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x114]
mov eax, dword [eax + 0x3c]
mov dword [esp], eax
lea eax, [ebp - 0xc0]
call sym._resample_bitmap_pixel.isra.0
movss xmm7, dword [ebp - 0x124]
movss xmm5, dword [ebp - 0x128]
movss xmm4, dword [ebp - 0x12c]
movss xmm6, dword [ebp - 0x130]
mov dword [edi], eax
jmp 0x69020296
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0xdc]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x5c]
mov dword [esp + 0x28], 0xcc0020
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0x18], ebx
mov dword [esp + 4], edi
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x58]
sub eax, edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_StretchBlt]
sub esp, 0x2c
jmp 0x6901f8cc
mov esi, dword [ebp - 0x140]
mov ebx, dword [ebp - 0x108]
mov dword [esp], esi
call sym._gdi_transform_acquire
mov eax, dword [ebp - 0x8c]
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov edx, dword [ebp - 0x100]
mov ecx, dword [ebp - 0xf8]
mov edi, dword fs:[0x18]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x120]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x138]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x108]
mov dword [esp], eax
mov eax, esi
call sym._alpha_blend_pixels_hrgn
mov dword [esp], esi
xor esi, esi
mov dword [ebp - 0xe0], eax
call sym._gdi_transform_release
mov eax, dword [ebp - 0x114]
mov dword [esp + 4], esi
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
xor eax, eax
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
jmp 0x6901f0fb
mov eax, dword [ebp - 0x40]
mov ebx, 5
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_ExtSelectClipRgn]
mov eax, dword [ebp - 0x40]
sub esp, 0xc
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_DeleteObject]
sub esp, 4
jmp 0x6901f85a
mov edi, dword [ebp - 0xdc]
mov eax, dword [ebp - 0xec]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.gdi32.dll_SelectObject]
sub esp, 8
mov dword [esp], edi
call dword [sym.imp.gdi32.dll_DeleteDC]
sub esp, 4
jmp 0x6901f8fa
mov ebx, dword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov dword [esp], 0
call ebx
mov dword [ebp - 0xdc], eax
push edx
mov eax, dword [ebp - 0xb0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xdc]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_SelectObject]
mov dword [ebp - 0xec], eax
mov eax, 1
sub esp, 8
mov dword [ebp - 0x108], eax
jmp 0x6901f831
mov dword [esp + 0x14], eax
mov ecx, 0x6907a0c8
mov eax, str.src_area:__d_x__d_n
mov dword [esp + 0x10], edx
mov edx, str.GdipDrawImagePointsRect
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xb4]
jmp 0x6901fd7a
mov eax, dword [ebp - 0xec]
movss xmm2, dword [ebp - 0xf4]
movss xmm1, dword [ebp - 0xe8]
addss xmm2, dword [ebp - 0xe4]
mov eax, dword [eax]
addss xmm1, dword [ebp - 0xf0]
mov dword [ebp - 0x11c], eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x114], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x10c]
cmp eax, 4
jg 0x690207d2
cmp eax, 2
jg 0x690207e4
movss xmm5, dword [0x6907fb54]
movq xmm0, qword [0x6907fb60]
movsd xmm3, qword [0x6907fb58]
movss xmm4, dword [ebp - 0xf4]
movupd xmm7, xmm0
addss xmm4, xmm5
cvtss2sd xmm4, xmm4
movupd xmm6, xmm4
andpd xmm6, xmm0
ucomisd xmm3, xmm6
jbe 0x69020621
andnpd xmm7, xmm4
addsd xmm6, xmm3
subsd xmm6, xmm3
orpd xmm6, xmm7
movupd xmm7, xmm6
cmpnlesd xmm7, xmm4
movupd xmm4, xmm7
movsd xmm7, qword [0x6907fb48]
andpd xmm4, xmm7
subsd xmm6, xmm4
movupd xmm4, xmm6
cvtsd2ss xmm4, xmm4
cvttss2si edx, xmm4
movupd xmm7, xmm0
movss xmm4, dword [ebp - 0xe8]
addss xmm4, xmm5
cvtss2sd xmm4, xmm4
movupd xmm6, xmm4
andpd xmm6, xmm0
ucomisd xmm3, xmm6
jbe 0x6902067c
andnpd xmm7, xmm4
addsd xmm6, xmm3
subsd xmm6, xmm3
orpd xmm6, xmm7
movupd xmm7, xmm6
cmpnlesd xmm7, xmm4
movupd xmm4, xmm7
movsd xmm7, qword [0x6907fb48]
andpd xmm4, xmm7
subsd xmm6, xmm4
movupd xmm4, xmm6
cvtsd2ss xmm4, xmm4
cvttss2si eax, xmm4
movupd xmm6, xmm0
addss xmm2, xmm5
mov dword [ebp - 0xe0], eax
cvtss2sd xmm2, xmm2
movupd xmm4, xmm2
andpd xmm4, xmm0
ucomisd xmm3, xmm4
jbe 0x690206d5
andnpd xmm6, xmm2
addsd xmm4, xmm3
subsd xmm4, xmm3
orpd xmm4, xmm6
movsd xmm6, qword [0x6907fb48]
movupd xmm7, xmm4
cmpnlesd xmm7, xmm2
movupd xmm2, xmm7
andpd xmm2, xmm6
subsd xmm4, xmm2
movupd xmm2, xmm4
cvtsd2ss xmm2, xmm2
cvttss2si ecx, xmm2
addss xmm1, xmm5
mov dword [ebp - 0xfc], ecx
cvtss2sd xmm1, xmm1
movupd xmm2, xmm1
andpd xmm2, xmm0
ucomisd xmm3, xmm2
jbe 0x69020726
andnpd xmm0, xmm1
addsd xmm2, xmm3
subsd xmm2, xmm3
orpd xmm2, xmm0
movupd xmm0, xmm2
cmpnlesd xmm0, xmm1
movsd xmm1, qword [0x6907fb48]
andpd xmm0, xmm1
movupd xmm1, xmm2
subsd xmm1, xmm0
cvtsd2ss xmm1, xmm1
cvttss2si ecx, xmm1
cmp dword [ebp - 0x11c], 4
mov dword [ebp - 0x104], ecx
je 0x69020ab3
mov ecx, edx
shr ecx, 0x1f
test cl, cl
jne 0x69020758
mov ecx, dword [ebp - 0xfc]
cmp dword [ebp - 0x114], ecx
jg 0x69020767
mov edx, dword [ebp - 0x114]
dec edx
mov dword [ebp - 0xfc], edx
xor edx, edx
mov ecx, dword [ebp - 0x104]
cmp dword [ebp - 0x118], ecx
jle 0x69020782
mov ecx, dword [ebp - 0xe0]
shr ecx, 0x1f
test cl, cl
je 0x69020799
mov dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x118]
dec eax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0xc0], edx
mov ecx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0xe0]
sub ecx, edx
mov dword [ebp - 0xbc], eax
mov edx, ecx
mov ecx, dword [ebp - 0x104]
inc edx
mov dword [ebp - 0xb8], edx
sub ecx, eax
mov eax, ecx
inc eax
mov dword [ebp - 0xb4], eax
jmp 0x6901fd6d
mov eax, dword [ebp - 0x10c]
sub eax, 6
cmp eax, 1
ja 0x690205b6
movq xmm0, qword [0x6907fb60]
movsd xmm3, qword [0x6907fb58]
pxor xmm4, xmm4
movupd xmm5, xmm0
cvtss2sd xmm4, dword [ebp - 0xf4]
movupd xmm6, xmm4
andpd xmm6, xmm0
ucomisd xmm3, xmm6
jbe 0x69020843
andnpd xmm5, xmm4
addsd xmm6, xmm3
subsd xmm6, xmm3
orpd xmm6, xmm5
movupd xmm5, xmm6
cmpnlesd xmm5, xmm4
movupd xmm4, xmm5
movsd xmm5, qword [0x6907fb48]
andpd xmm4, xmm5
subsd xmm6, xmm4
movupd xmm4, xmm6
cvtsd2ss xmm4, xmm4
movupd xmm5, xmm0
cvttss2si edx, xmm4
pxor xmm4, xmm4
cvtss2sd xmm4, dword [ebp - 0xe8]
movupd xmm6, xmm4
andpd xmm6, xmm0
ucomisd xmm3, xmm6
jbe 0x6902089a
andnpd xmm5, xmm4
addsd xmm6, xmm3
subsd xmm6, xmm3
orpd xmm6, xmm5
movupd xmm5, xmm6
cmpnlesd xmm5, xmm4
movupd xmm4, xmm5
movsd xmm5, qword [0x6907fb48]
andpd xmm4, xmm5
subsd xmm6, xmm4
movupd xmm4, xmm6
cvtsd2ss xmm4, xmm4
cvttss2si eax, xmm4
cvtss2sd xmm2, xmm2
movupd xmm5, xmm0
movupd xmm4, xmm2
andpd xmm4, xmm0
ucomisd xmm3, xmm4
mov dword [ebp - 0xe0], eax
jbe 0x690208e7
andnpd xmm5, xmm2
addsd xmm4, xmm3
movsd xmm6, qword [0x6907fb48]
subsd xmm4, xmm3
orpd xmm4, xmm5
cmpnlesd xmm2, xmm4
andpd xmm2, xmm6
addsd xmm2, xmm4
orpd xmm2, xmm5
cvtsd2ss xmm2, xmm2
cvttss2si ecx, xmm2
cvtss2sd xmm1, xmm1
movupd xmm2, xmm0
movupd xmm0, xmm1
andpd xmm0, xmm2
ucomisd xmm3, xmm0
mov dword [ebp - 0xfc], ecx
jbe 0x69020726
andnpd xmm2, xmm1
addsd xmm0, xmm3
subsd xmm0, xmm3
movsd xmm3, qword [0x6907fb48]
orpd xmm0, xmm2
cmpnlesd xmm1, xmm0
andpd xmm1, xmm3
addsd xmm1, xmm0
orpd xmm1, xmm2
jmp 0x69020726
mov eax, dword [ebp - 0x114]
xor ebx, ebx
mov dword [ebp - 0x108], eax
jmp 0x690203cf
mov dword [esp], 0
mov ebx, dword [sym.imp.gdi32.dll_CreateCompatibleDC]
call ebx
mov dword [ebp - 0x34], 0x200001
mov dword [ebp - 0x40], 0x28
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov edx, eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0xdc], edx
sub esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x3c]
mov dword [esp], edx
neg eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x98]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
lea eax, [ebp - 0x40]
mov dword [esp + 4], eax
mov dword [ebp - 0xfc], eax
call dword [sym.imp.gdi32.dll_CreateDIBSection]
mov edx, dword [edi + 0x28]
mov dword [ebp - 0xec], edx
mov edx, dword [edi + 0x38]
mov dword [ebp - 0xb0], eax
mov eax, dword [edi + 0x40]
sub esp, 0x18
mov dword [ebp - 0xe0], edx
mov edx, dword [ebp - 0xec]
mov ecx, eax
and eax, 0xc0000
mov dword [esp + 0x20], ecx
cmp eax, 1
mov dword [esp + 0x24], edx
sbb eax, eax
mov ecx, dword [edi + 0x54]
and eax, 0xfff3fffe
add eax, 0xe200b
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x98]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe0]
shl eax, 2
mov dword [esp + 8], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe0]
mov dword [esp], eax
call sym._convert_pixels
mov eax, dword [ebp - 0xdc]
mov edx, 1
mov dword [ebp - 0xe0], edx
test eax, eax
jne 0x690204ec
jmp 0x690204dc
mov dword [esp], edi
xor ecx, ecx
mov ebx, 1
mov dword [esp + 8], ecx
lea eax, [ebp - 0xb0]
mov dword [esp + 4], eax
call sym.gdiplus.dll_GdipCreateHBITMAPFromBitmap
mov dword [ebp - 0xe0], ebx
sub esp, 0xc
jmp 0x6901f817
mov eax, dword [ebp - 0xe0]
xor ecx, ecx
test edx, edx
cmovs edx, ecx
test eax, eax
cmovns ecx, eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xe0], ecx
mov ecx, dword [ebp - 0x114]
cmp ecx, eax
jg 0x69020ae2
dec ecx
mov dword [ebp - 0xfc], ecx
mov ecx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x104]
cmp ecx, eax
jg 0x69020af9
dec ecx
mov dword [ebp - 0x104], ecx
mov ecx, dword [ebp - 0x104]
cmp dword [ebp - 0xe0], ecx
jg 0x69020b13
cmp edx, dword [ebp - 0xfc]
jle 0x69020799
mov dword [ebp - 0x104], 0
xor edx, edx
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xe0], 0
jmp 0x69020799
mov dword [esp + 0x18], 0xe200b
mov eax, dword [ebp - 0xec]
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._apply_image_attributes
mov dword [ebp - 0x8c], eax
jmp 0x6901fe21
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x114]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0xe0], 3
sub esp, 0xc
jmp 0x6901f0fb
mov dword [ebp - 0x108], 0
jmp 0x6901f939
mov dword [ebp - 0xe0], 3
jmp 0x6901f0fb