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

Disassembly:
push 0xffffffffffffffff
push 0x1003fbc3
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x1006c318]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006c318]
xor eax, esp
push eax
lea eax, [esp + 0x1c8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1d8]
mov esi, ecx
cmp dword [esi + 0x20], 0
je 0x10004659
mov edi, dword [esp + 0x1e0]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x1dc]
mov edx, dword [esi + 0xc]
neg edi
push edi
mov dword [esp + 0x108], ecx
neg ebx
mov dword [esp + 0x104], eax
mov eax, dword [esi + 0x10]
push ebx
lea ecx, [esp + 0x108]
push ecx
mov dword [esp + 0x114], edx
mov dword [esp + 0x118], eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov al, byte [esi + 0xa0]
mov cl, byte [esi + 0xa1]
mov dl, byte [esi + 0xa2]
movzx eax, al
or eax, 0xffffff00
movzx ecx, cl
shl eax, 8
or eax, ecx
movzx edx, dl
shl eax, 8
lea ecx, [esp + 0x28]
or eax, edx
push ecx
push eax
mov dword [esp + method.Gdiplus::Brush.virtual_0], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x30], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov edx, dword [esp + 0x28]
mov dword [esp + 0x128], eax
mov dword [esp + 0x124], edx
mov ecx, dword [0x1006c5f8]
xor eax, eax
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
push ecx
mov dword [esp + method.Gdiplus::Brush.virtual_0], vtable.Gdiplus::SolidBrush.0
call sub.gdiplus.dll_GdipCreateSolidFill
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x134], eax
mov dword [esp + 0x130], edx
mov ecx, dword [0x1006c5fc]
lea eax, [esp + 0x38]
push eax
push ecx
mov dword [esp + 0xfc], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x40], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov edx, dword [esp + 0x38]
mov dword [esp + 0xfc], eax
mov dword [esp + 0xf8], edx
mov ecx, dword [0x1006c5e0]
lea eax, [esp + 0x3c]
push eax
push ecx
mov dword [esp + 0xf0], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x44], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xec], edx
mov ecx, dword [0x1006c5f0]
lea eax, [esp + 0x30]
push eax
push ecx
mov dword [esp + 0xe4], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x38], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov dword [esp + 0xe4], eax
mov edx, dword [esp + 0x30]
mov dword [esp + 0xe0], edx
mov ecx, dword [0x1006c5f4]
lea eax, [esp + 0x34]
push eax
push ecx
mov dword [esp + 0xd8], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x3c], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov edx, dword [esp + 0x34]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xd4], edx
fld dword [0x1006c5e8]
lea eax, [esp + 0x40]
push eax
push 0
push ecx
mov ecx, dword [0x1006c5e4]
fstp dword [esp]
push ecx
mov dword [esp + 0x50], 0
call sub.gdiplus.dll_GdipCreatePen1
mov dword [esp + 0x44], eax
mov eax, dword [0x1006c5ec]
test eax, eax
mov dword [esp + 0x20], eax
jne 0x100040e7
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x20], eax
mov eax, dword [ebp]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], 0
call sub.gdiplus.dll_GdipGetDC
test eax, eax
je 0x10004104
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push ecx
push eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0x2c], eax
call fcn.100019e0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edx
push eax
mov byte [esp + 0x1d8], 7
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x148]
push ecx
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x24]
mov eax, dword [ebp]
push edx
push eax
call sub.gdiplus.dll_GdipReleaseDC
test eax, eax
je 0x10004172
mov dword [ebp + 4], eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.10003280
push edi
push ebx
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x9c]
push ecx
mov ecx, esi
call fcn.100032c0
push edi
push ebx
lea edx, [esp + 0xa0]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
push edi
push ebx
lea eax, [esp + 0xb0]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov edi, dword [sym.imp.ThumbnailView.dll_protected:_class_Gdiplus::RectF___thiscall_CImageItem::RectToRectF_class_CRect_]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x148]
push eax
mov ecx, esi
call edi
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xb0]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xb4]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x98]
push eax
mov ecx, esi
call edi
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xc0]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xc4]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0xd0]
push eax
mov ecx, esi
call edi
lea ecx, [esp + 0x138]
push ecx
lea edx, [esp + 0xec]
push edx
mov ecx, ebp
call fcn.10003e30
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebp
call fcn.10003dc0
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0xe0]
push eax
mov ecx, ebp
call fcn.10003e30
fldz
mov ecx, 1
lea eax, [esp + 0x70]
fst dword [eax + 4]
add eax, 0x10
sub ecx, 1
fst dword [eax - 0x10]
fst dword [eax - 0x14]
fst dword [eax - 0x18]
jns 0x100042b1
cmp dword [esi + 0xd8], 1
fstp st(0)
fild dword [0x1006c600]
fstp dword [esp + 0x14]
fld dword [esp + 0x90]
fld st(0)
fld dword [esp + 0x14]
fld st(0)
fsubp st(2)
fld qword [0x10053238]
fmul st(2), st(0)
fld dword [esp + 0x88]
fld st(0)
faddp st(4)
fxch st(3)
fstp dword [esp + 0x68]
fild dword [0x1006c604]
fstp dword [esp + 0x14]
fld dword [esp + 0x94]
fld st(0)
fld dword [esp + 0x14]
fld st(0)
fsubp st(2)
fxch st(1)
fmul st(3)
fadd dword [esp + 0x8c]
fstp dword [esp + 0x6c]
fxch st(3)
fst dword [esp + 0x70]
fxch st(3)
fst dword [esp + 0x74]
fld st(0)
fsubp st(6)
fxch st(5)
fmul st(2)
faddp st(4)
fxch st(3)
fstp dword [esp + 0x78]
fld st(1)
fsubp st(3)
fmulp st(2)
fld dword [esp + 0x8c]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x7c]
fxch st(1)
fstp dword [esp + 0x80]
fstp dword [esp + 0x84]
fld1
jne 0x10004399
fld dword [esp + 0x68]
fadd st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0x6c]
fadd st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x78]
fadd st(1)
fstp dword [esp + 0x78]
fadd dword [esp + 0x7c]
fstp dword [esp + 0x7c]
jmp 0x1000439b
fstp st(0)
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp]
push 2
lea ecx, [esp + 0x6c]
push ecx
push edx
push eax
call sub.gdiplus.dll_GdipFillRectangles
xor ebx, ebx
cmp eax, ebx
je 0x100043b9
mov dword [ebp + 4], eax
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0xd4]
push edx
mov ecx, ebp
call fcn.10003e30
fild dword [0x1006c60c]
cmp dword [esi + 0xd8], 2
fstp dword [esp + 0x14]
fld dword [esp + 0xc8]
fld dword [esp + 0x14]
fld st(0)
fsubp st(2)
fld qword [0x10053238]
fmul st(2), st(0)
fld dword [esp + 0xc0]
faddp st(3)
fxch st(2)
fstp dword [esp + 0x58]
fild dword [0x1006c608]
fstp dword [esp + 0x14]
fld dword [esp + 0xcc]
fld dword [esp + 0x14]
fld st(0)
fsubp st(2)
fxch st(1)
fmulp st(3)
fld dword [esp + 0xc4]
faddp st(3)
fxch st(2)
fstp dword [esp + 0x5c]
fstp dword [esp + 0x60]
fstp dword [esp + 0x64]
jne 0x10004453
fld dword [esp + 0x58]
fld1
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x58]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x5c]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xf8]
push ecx
mov ecx, ebp
call fcn.10003e30
mov edx, dword [esi + 0xd4]
push edx
push 0x1005322c
lea eax, [esp + 0x18c]
push 0x20
push eax
call dword [sym.imp.MSVCR80.dll_swprintf_s]
add esp, 0x10
push 0x1006c558
call sub.gdiplus.dll_GdipStringFormatGetGenericDefault
mov edx, dword [0x1006c558]
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [0x1006c55c], eax
mov dword [esp + 0x20], ebx
call sub.gdiplus.dll_GdipCloneStringFormat
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
push 1
push eax
mov byte [esp + 0x1d8], 8
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, ebx
je 0x100044ca
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x18]
push 1
push ecx
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, ebx
je 0x100044de
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x18]
push 3
push edx
call sub.gdiplus.dll_GdipSetStringFormatTrimming
cmp eax, ebx
je 0x100044f2
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
push 0x1000
push eax
call sub.gdiplus.dll_GdipSetStringFormatFlags
cmp eax, ebx
je 0x10004509
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x120]
push eax
mov ecx, esi
call edi
fild dword [esp + 0x150]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
fmul qword [0x10053238]
push ecx
mov ecx, dword [esp + 0xbc]
push edx
fadd dword [esp + 0x11c]
lea eax, [esp + 0x118]
push eax
mov eax, dword [ebp]
push ecx
fstp dword [esp + 0x124]
push 0xffffffffffffffff
lea edx, [esp + 0x198]
push edx
push eax
call sub.gdiplus.dll_GdipDrawString
cmp eax, ebx
je 0x10004584
mov dword [ebp + 4], eax
mov edx, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], ebx
call sub.gdiplus.dll_GdipGetDC
cmp eax, ebx
je 0x1000459d
mov dword [ebp + 4], eax
mov esi, dword [esi + 0xd8]
sub esi, 1
mov ebx, dword [esp + 0x14]
je 0x100045c1
sub esi, 1
mov eax, 4
je 0x100045ba
mov edi, eax
jmp 0x100045c9
mov edi, 8
jmp 0x100045c9
mov eax, 8
lea edi, [eax - 4]
mov esi, dword [sym.imp.USER32.dll_DrawEdge]
push 0xf
push eax
lea eax, [esp + 0xa0]
push eax
push ebx
call esi
push 0xf
push edi
lea ecx, [esp + 0xb0]
push ecx
push ebx
call esi
mov edx, dword [ebp]
push ebx
push edx
call sub.gdiplus.dll_GdipReleaseDC
test eax, eax
je 0x100045fc
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x18]
push eax
call sub.gdiplus.dll_GdipDeleteStringFormat
mov ecx, dword [esp + 0xb8]
push ecx
call sub.gdiplus.dll_GdipDeleteFont
mov edx, dword [esp + 0x40]
push edx
call sub.gdiplus.dll_GdipDeletePen
mov eax, dword [esp + 0x34]
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x30]
push ecx
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x3c]
push edx
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0x38]
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x2c]
push ecx
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x28]
push edx
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, 1
mov ecx, dword [esp + 0x1c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.1003e9c6
add esp, 0x1c0
ret 0xc