Function at 0x1000d3d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x1000dfee
mov eax, dword [ebp + 8]
test eax, eax
je 0x1000dfee
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1000dfee
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x1000dfee
mov dl, byte [esi + 0x17e]
test dl, dl
je 0x1000dfee
test eax, eax
jge 0x1000d425
mov eax, dword [esi + 0xc]
mov dword [ebp + 0x14], eax
test ecx, ecx
jge 0x1000d42f
mov ecx, dword [esi + 0x10]
mov dword [ebp + 0x18], ecx
mov edx, dword [esi + 0x14c]
mov ecx, dword [esi + 0x1dc]
mov eax, dword [ebp + 0x1c]
mov edi, dword [sym.imp.GDI32.dll_GetClipBox]
cmp edx, 0xffffffff
setne byte [esp + 0x1b]
test ecx, ecx
setne byte [esp + 0x1a]
test eax, eax
je 0x1000d485
mov eax, dword [ebp + 8]
lea edx, [esp + 0xd8]
push edx
push eax
call edi
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov edx, dword [ebp + 8]
mov ebx, eax
push 1
push ebx
push edx
call dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x88]
push eax
push ecx
call edi
mov ebx, dword [ebp + 0x10]
mov eax, dword [esp + 0x8c]
cmp eax, ebx
jle 0x1000d4a5
mov ecx, eax
jmp 0x1000d4ae
mov ecx, dword [esp + 0x8c]
mov eax, ebx
mov edx, dword [esp + 0x94]
cmp edx, eax
jge 0x1000d4bf
mov dword [esp + 0x58], edx
jmp 0x1000d4cb
cmp ecx, ebx
mov dword [esp + 0x58], ecx
jg 0x1000d4cb
mov dword [esp + 0x58], ebx
mov edi, dword [esp + 0x88]
mov ecx, dword [ebp + 0xc]
cmp edi, ecx
mov edx, edi
jg 0x1000d4dd
mov edx, ecx
mov eax, dword [esp + 0x90]
cmp eax, edx
jge 0x1000d4ee
mov dword [esp + 0x54], eax
jmp 0x1000d4fa
cmp edi, ecx
mov dword [esp + 0x54], edi
jg 0x1000d4fa
mov dword [esp + 0x54], ecx
mov edx, dword [ebp + 0x14]
add ecx, edx
mov edx, eax
cmp eax, ecx
jl 0x1000d507
mov edx, ecx
cmp edi, edx
jle 0x1000d50f
mov eax, edi
jmp 0x1000d515
cmp eax, ecx
jl 0x1000d515
mov eax, ecx
mov ecx, dword [ebp + 0x18]
mov edi, dword [esp + 0x94]
add ecx, ebx
mov edx, edi
cmp edi, ecx
jl 0x1000d529
mov edx, ecx
mov ebx, dword [esp + 0x8c]
cmp ebx, edx
jg 0x1000d53c
cmp edi, ecx
mov ebx, edi
jl 0x1000d53c
mov ebx, ecx
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
sub eax, edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x1b]
sub ebx, ecx
test al, al
mov dword [esp + 0x7c], ebx
jne 0x1000d890
mov al, byte [esp + 0x1a]
test al, al
jne 0x1000d890
mov al, byte [esi + 0x17d]
test al, al
jne 0x1000d890
mov edx, dword [ebp + 0x14]
mov eax, dword [esi + 0xc]
cmp edx, eax
jne 0x1000d5c4
mov edi, dword [ebp + 0x18]
mov eax, dword [esi + 0x10]
cmp edi, eax
jne 0x1000d5c4
mov ebx, dword [ebp + 8]
push 3
push ebx
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x34]
mov edx, dword [ebp + 0x14]
push 0
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edi
push 0
push 0
push 0
push edi
push edx
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SetDIBitsToDevice]
jmp 0x1000dfb5
mov edx, dword [esp + 0x1c]
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0xa0]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xa0], 0x28
push eax
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ebx
mov word [esp + 0xb0], 1
mov word [esp + 0xb2], 0x18
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0
lea ecx, [esp + 0x28]
push 0
mov edi, eax
mov eax, dword [ebp + 8]
push ecx
lea edx, [esp + 0xac]
push 0
push edx
push eax
mov dword [esp + 0x44], edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1000d84e
fild dword [esi + 0xc]
mov eax, dword [esp + 0x1c]
fidiv dword [ebp + 0x14]
lea ecx, [eax + eax*2]
lea eax, [ecx*8 + 0x1f]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
test ebx, ebx
mov dword [esp + 0x30], eax
fstp dword [esp + 0x64]
fild dword [esi + 0x10]
fidiv dword [ebp + 0x18]
fstp dword [esp + 0x6c]
jle 0x1000d84e
mov edx, dword [esp + 0x60]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], edx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x4c]
mov edx, dword [ebp + 0x10]
fild dword [esi + 0x10]
sub eax, edx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [esp + 0x6c]
fsubp st(1)
fst dword [esp + 0x68]
fstp qword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
test eax, eax
jge 0x1000d6e0
mov dword [esp + 0x34], 0
jmp 0x1000d6f4
push edi
push ebx
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x34]
mov ecx, dword [esi + 0x34]
imul ebx, dword [esi + 0x30]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add ebx, ecx
mov ecx, dword [esp + 0x48]
test eax, eax
lea edi, [ecx + edx]
mov dword [esp + 0x38], 0
jle 0x1000d828
mov eax, dword [esp + 0x38]
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x54]
sub eax, edx
add eax, ecx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [esp + 0x64]
fst dword [esp + 0x20]
fstp qword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
test eax, eax
jge 0x1000d763
xor eax, eax
jmp 0x1000d77b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x1000d7bb
fld dword [esp + 0x68]
fsub dword [0x10095508]
push 0
push 5
push 2
push ecx
lea edx, [esp + 0x80]
fstp dword [esp]
fld dword [esp + 0x30]
fsub dword [0x10095508]
push ecx
mov ecx, esi
fstp dword [esp]
push edx
call sym.YunImage.fne_public:_struct_tagRGBQUAD___thiscall_CxImage::GetPixelColorInterpolated_float__float__enum_CxImage::InterpolationMethod__enum_CxImage::OverflowMethod__struct_tagRGBQUAD__const_
mov eax, dword [eax]
mov dword [esp + 0xc], eax
jmp 0x1000d7fe
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1000d7e4
mov ecx, dword [esp + 0x34]
push ecx
push eax
mov ecx, esi
call sym.YunImage.fne_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
lea edx, [esp + 0x78]
push eax
push edx
mov ecx, esi
call sym.YunImage.fne_public:_struct_tagRGBQUAD___thiscall_CxImage::GetPaletteColor_unsigned_char_
mov eax, dword [eax]
mov dword [esp + 0xc], eax
jmp 0x1000d7fe
lea ecx, [ebx + eax*2]
add eax, ecx
mov cl, byte [eax + 1]
mov byte [esp + 0xd], cl
mov dl, byte [eax]
inc eax
mov byte [esp + 0xc], dl
mov dl, byte [eax + 1]
mov byte [esp + 0xe], dl
mov al, byte [esp + 0xc]
mov cl, byte [esp + 0xd]
mov dl, byte [esp + 0xe]
mov byte [edi], al
mov eax, dword [esp + 0x38]
inc edi
mov byte [edi], cl
mov ecx, dword [esp + 0x1c]
inc edi
mov byte [edi], dl
inc edi
inc eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jl 0x1000d720
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
add ecx, eax
mov eax, dword [esp + 0x28]
dec edx
dec eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x28], eax
jne 0x1000d698
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0xa0]
push 0
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push eax
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_SetDIBitsToDevice]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x2c]
push ecx
jmp 0x1000dfa0
lea edx, [esp + 0x70]
mov ecx, esi
push edx
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
call sym.YunImage.fne_public:_struct_tagRGBQUAD___thiscall_CxImage::GetTransColor_void_
mov eax, dword [eax]
mov ecx, esi
mov dword [esp + 0x64], eax
call sym.YunImage.fne_public:_long_int___thiscall_CxImage::GetTransIndex_void_const
mov edx, dword [ebp + 8]
mov dword [esp + 0x68], eax
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0xa0]
push edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xa4], 0x28
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ebx
mov word [esp + 0xb0], 1
mov word [esp + 0xb2], 0x18
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp + 8]
mov edi, eax
push 0
lea eax, [esp + 0x38]
push 0
push eax
lea ecx, [esp + 0xac]
push 0
push ecx
push edx
mov dword [esp + 0x88], edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x54]
mov edx, dword [ebp + 8]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x58]
push 0xcc0020
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push ebx
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1000df63
mov eax, dword [esp + 0x1c]
lea ecx, [eax + eax*2]
lea eax, [ecx*8 + 0x1f]
mov ecx, dword [ebp + 0x14]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0xc]
cmp ecx, eax
mov dword [esp + 0x20], eax
jne 0x1000dbe0
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp + 0x18]
cmp ecx, eax
jne 0x1000dbe0
mov edi, dword [esp + 0x60]
mov edx, dword [ebp + 0x10]
sub eax, edi
add eax, edx
test ebx, ebx
mov dword [esp + 0x24], eax
jle 0x1000df63
mov edx, dword [esp + 0x54]
mov ecx, dword [ebp + 0xc]
sub edx, ecx
xor edi, edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x44], ebx
jmp 0x1000d9e0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov ebx, eax
add edi, ecx
mov ecx, eax
imul ecx, dword [esi + 0x30]
imul ebx, dword [esi + 0xc]
lea eax, [edx + edx*2]
mov dword [esp + 0x48], ebx
add ecx, eax
mov eax, dword [esi + 0x34]
add ecx, eax
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], ecx
jle 0x1000dbb5
mov ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x1000da24
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
mov al, byte [esp + 0x1a]
test al, al
je 0x1000da3d
mov eax, dword [esi + 0x1dc]
add eax, edx
mov cl, byte [eax + ebx]
mov byte [esp + 0xc], cl
jmp 0x1000da42
mov byte [esp + 0xc], 0xff
mov edx, dword [esp + 0xc]
xor ebx, ebx
mov bl, byte [esi + 0x17c]
and edx, 0xff
inc ebx
mov eax, dword [esi + 0x28]
imul ebx, edx
sar ebx, 8
test eax, eax
mov byte [esp + 0xc], bl
je 0x1000dac1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
push eax
push ecx
mov ecx, esi
call sym.YunImage.fne_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
and eax, 0xff
lea edx, [esp + 0x80]
push eax
push edx
mov ecx, esi
mov dword [esp + 0x54], eax
call sym.YunImage.fne_public:_struct_tagRGBQUAD___thiscall_CxImage::GetPaletteColor_unsigned_char_
mov cl, byte [esi + 0x17d]
mov eax, dword [eax]
test cl, cl
mov dword [esp + 0x10], eax
je 0x1000dae3
mov ebx, dword [esp + 0x13]
mov ecx, dword [esp + 0xc]
and ebx, 0xff
and ecx, 0xff
inc ebx
imul ebx, ecx
sar ebx, 8
mov byte [esp + 0xc], bl
jmp 0x1000dae3
mov eax, dword [esp + 0x28]
mov dl, byte [eax]
mov cl, byte [eax + 1]
inc eax
mov byte [esp + 0x10], dl
inc eax
mov byte [esp + 0x11], cl
mov dl, byte [eax]
inc eax
mov byte [esp + 0x12], dl
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1000daf8
mov edx, dword [esp + 0x68]
cmp dword [esp + 0x4c], edx
jne 0x1000db0a
test ecx, ecx
jne 0x1000dafe
cmp eax, dword [esp + 0x64]
jne 0x1000db0a
mov cl, byte [esp + 0x1b]
test cl, cl
jne 0x1000db9a
test bl, bl
je 0x1000db9a
cmp bl, 0xff
jne 0x1000db2e
mov al, byte [esp + 0x10]
mov cl, byte [esp + 0x11]
mov dl, byte [esp + 0x12]
mov byte [edi], al
inc edi
mov byte [edi], cl
inc edi
mov byte [edi], dl
inc edi
jmp 0x1000db9d
mov ecx, dword [esp + 0xc]
and eax, 0xff
not bl
mov byte [esp + 0x74], bl
xor ebx, ebx
mov edx, dword [esp + 0x74]
mov bl, byte [edi]
and ecx, 0xff
and edx, 0xff
imul ebx, edx
imul eax, ecx
add ebx, eax
xor eax, eax
sar ebx, 8
mov byte [edi], bl
mov ebx, dword [esp + 0x11]
mov al, byte [edi + 1]
inc edi
and ebx, 0xff
imul eax, edx
imul ebx, ecx
add eax, ebx
sar eax, 8
mov byte [edi], al
inc edi
xor eax, eax
mov al, byte [edi]
imul eax, edx
mov edx, dword [esp + 0x12]
and edx, 0xff
imul edx, ecx
add eax, edx
sar eax, 8
mov byte [edi], al
inc edi
jmp 0x1000db9d
add edi, 3
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
inc ecx
dec eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], eax
jne 0x1000da1c
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
add edi, ebx
inc eax
dec ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], ecx
jne 0x1000d9dc
jmp 0x1000df63
fild dword [esp + 0x20]
test ebx, ebx
fidiv dword [ebp + 0x14]
fstp dword [esp + 0x9c]
fild dword [esi + 0x10]
fidiv dword [ebp + 0x18]
fstp dword [esp + 0x98]
jle 0x1000df63
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp + 0x10]
fild dword [esi + 0x10]
sub ecx, edx
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fmul dword [esp + 0x98]
fsubp st(1)
fst dword [esp + 0x44]
fstp qword [esp + 0x80]
mov edi, dword [esp + 0x84]
mov ebx, dword [esp + 0x80]
push edi
push ebx
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
test eax, eax
jge 0x1000dc65
xor eax, eax
jmp 0x1000dc75
push edi
push ebx
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
mov ecx, eax
mov edx, dword [esp + 0x28]
imul ecx, dword [esi + 0xc]
mov dword [esp + 0x24], eax
imul eax, dword [esi + 0x30]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], 0
lea edi, [edx + ecx]
mov ecx, dword [esi + 0x34]
add eax, ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x1000df3d
mov edx, dword [esp + 0x50]
mov eax, dword [ebp + 0xc]
mov ebx, dword [esp + 0x54]
sub edx, eax
add edx, ebx
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
fmul dword [esp + 0x9c]
fst dword [esp + 0x30]
fstp qword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
test eax, eax
jge 0x1000dcf8
xor eax, eax
jmp 0x1000dd0c
mov ecx, dword [esp + 0x38]
push ebx
push ecx
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
mov cl, byte [esp + 0x1a]
mov dword [esp + 0x38], eax
test cl, cl
je 0x1000dd2d
mov edx, dword [esi + 0x1dc]
add edx, eax
mov eax, dword [esp + 0x48]
mov cl, byte [edx + eax]
mov byte [esp + 0xc], cl
jmp 0x1000dd32
mov byte [esp + 0xc], 0xff
mov edx, dword [esp + 0xc]
xor ebx, ebx
mov bl, byte [esi + 0x17c]
and edx, 0xff
inc ebx
mov eax, dword [esi + 0x28]
imul ebx, edx
sar ebx, 8
test eax, eax
mov byte [esp + 0xc], bl
je 0x1000de04
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
push eax
push ecx
mov ecx, esi
call sym.YunImage.fne_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
and eax, 0xff
mov dword [esp + 0x4c], eax
mov al, byte [ebp + 0x20]
test al, al
je 0x1000ddae
fld dword [esp + 0x44]
fsub dword [0x10095508]
push 0
push 5
push 2
push ecx
lea edx, [esp + 0xdc]
fstp dword [esp]
fld dword [esp + 0x40]
fsub dword [0x10095508]
push ecx
mov ecx, esi
fstp dword [esp]
push edx
call sym.YunImage.fne_public:_struct_tagRGBQUAD___thiscall_CxImage::GetPixelColorInterpolated_float__float__enum_CxImage::InterpolationMethod__enum_CxImage::OverflowMethod__struct_tagRGBQUAD__const_
jmp 0x1000ddcf
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
push eax
push ecx
mov ecx, esi
call sym.YunImage.fne_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
lea edx, [esp + 0xd4]
push eax
push edx
mov ecx, esi
call sym.YunImage.fne_public:_struct_tagRGBQUAD___thiscall_CxImage::GetPaletteColor_unsigned_char_
mov cl, byte [esi + 0x17d]
mov eax, dword [eax]
test cl, cl
mov dword [esp + 0x10], eax
je 0x1000de6e
mov ebx, dword [esp + 0x13]
mov ecx, dword [esp + 0xc]
and ebx, 0xff
and ecx, 0xff
inc ebx
imul ebx, ecx
sar ebx, 8
mov byte [esp + 0xc], bl
jmp 0x1000de6e
mov al, byte [ebp + 0x20]
test al, al
je 0x1000de44
fld dword [esp + 0x44]
fsub dword [0x10095508]
push 0
push 5
push 2
push ecx
lea edx, [esp + 0xe0]
fstp dword [esp]
fld dword [esp + 0x40]
fsub dword [0x10095508]
push ecx
mov ecx, esi
fstp dword [esp]
push edx
call sym.YunImage.fne_public:_struct_tagRGBQUAD___thiscall_CxImage::GetPixelColorInterpolated_float__float__enum_CxImage::InterpolationMethod__enum_CxImage::OverflowMethod__struct_tagRGBQUAD__const_
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x1000de6e
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x38]
lea edx, [ecx + eax*2]
mov cl, byte [eax + edx]
add eax, edx
mov dl, byte [eax + 1]
inc eax
mov byte [esp + 0x10], cl
mov byte [esp + 0x11], dl
mov al, byte [eax + 1]
mov byte [esp + 0x12], al
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1000de83
mov edx, dword [esp + 0x68]
cmp dword [esp + 0x4c], edx
jne 0x1000de95
test ecx, ecx
jne 0x1000de89
cmp eax, dword [esp + 0x64]
jne 0x1000de95
mov cl, byte [esp + 0x1b]
test cl, cl
jne 0x1000df25
test bl, bl
je 0x1000df25
cmp bl, 0xff
jne 0x1000deb9
mov al, byte [esp + 0x10]
mov cl, byte [esp + 0x11]
mov dl, byte [esp + 0x12]
mov byte [edi], al
inc edi
mov byte [edi], cl
inc edi
mov byte [edi], dl
inc edi
jmp 0x1000df28
mov ecx, dword [esp + 0xc]
and eax, 0xff
not bl
mov byte [esp + 0x74], bl
xor ebx, ebx
mov edx, dword [esp + 0x74]
mov bl, byte [edi]
and ecx, 0xff
and edx, 0xff
imul ebx, edx
imul eax, ecx
add ebx, eax
xor eax, eax
sar ebx, 8
mov byte [edi], bl
mov ebx, dword [esp + 0x11]
mov al, byte [edi + 1]
inc edi
and ebx, 0xff
imul eax, edx
imul ebx, ecx
add eax, ebx
sar eax, 8
mov byte [edi], al
inc edi
xor eax, eax
mov al, byte [edi]
imul eax, edx
mov edx, dword [esp + 0x12]
and edx, 0xff
imul edx, ecx
add eax, edx
sar eax, 8
mov byte [edi], al
inc edi
jmp 0x1000df28
add edi, 3
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0x1000dcb2
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [esp + 0x20]
dec edx
dec eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
jne 0x1000dc17
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0xa0]
push 0
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push eax
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_SetDIBitsToDevice]
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x1000dfe0
lea edx, [esp + 0xd8]
push edx
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov esi, eax
mov eax, dword [ebp + 8]
push 2
push esi
push eax
call dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x1c