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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006a953
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x1008f210]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
push dword [ebp + 8]
lea esi, [esp + 0x28]
call fcn.10002557
and dword [esp + 0xc0], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov edi, dword [eax + 0xc]
mov ebx, dword [eax + 8]
mov eax, dword [ebp + 0x10]
mov esi, dword [eax + 0xc]
and dword [esp + 0x14], 0
sub edi, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 4]
sub esi, ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 8]
sub eax, ecx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x14]
push eax
sub ebx, edx
mov dword [esp + 0xa8], edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ecx
call sub.gdiplus.dll_GdipCreateImageAttributes
mov dword [esp + 0x18], eax
push 0
push 0xff000000
push 0
mov byte [esp + 0xcc], 1
push dword [esp + 0x20]
call sub.gdiplus.dll_GdipSetImageAttributesWrapMode
test eax, eax
je 0x1000d5ae
mov dword [esp + 0x18], eax
cmp byte [ebp + 0x14], 0xff
jae 0x1000d663
fld1
movzx eax, byte [ebp + 0x14]
fst dword [esp + 0x3c]
mov dword [esp + 0x10], eax
fldz
lea eax, [esp + 0x3c]
fst dword [esp + 0x40]
push eax
fst dword [esp + 0x48]
lea esi, [esp + 0x18]
fst dword [esp + 0x4c]
fst dword [esp + 0x50]
fst dword [esp + 0x54]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fst dword [esp + 0x64]
fst dword [esp + 0x68]
fst dword [esp + 0x6c]
fst dword [esp + 0x74]
fst dword [esp + 0x78]
fst dword [esp + 0x7c]
fst dword [esp + 0x80]
fst dword [esp + 0x84]
fxch st(1)
fst dword [esp + 0x58]
fst dword [esp + 0x70]
fild dword [esp + 0x14]
fdiv qword [0x1007d618]
fstp dword [esp + 0x88]
fxch st(1)
fst dword [esp + 0x8c]
fst dword [esp + 0x90]
fst dword [esp + 0x94]
fst dword [esp + 0x98]
fstp dword [esp + 0x9c]
fstp dword [esp + 0xa0]
call fcn.1000d041
mov esi, dword [esp + 0x30]
cmp dword [ebp + 0x18], 0
je 0x1000d67a
mov eax, dword [esp + 0x20]
push dword [eax + 0xc]
lea eax, [esp + 0x28]
push eax
call dword [ebp + 0x18]
pop ecx
pop ecx
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
push esi
push dword [esp + 0x40]
push dword [esp + 0x38]
push dword [esp + 0x44]
push dword [esp + 0x28]
push dword [eax + 4]
call sub.gdiplus.dll_GdipCreateTextureIAI
fild dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
push 1
push ecx
push ecx
fstp dword [esp + 4]
fild dword [esp + 0xb0]
fstp dword [esp]
push esi
call sub.gdiplus.dll_GdipTranslateTextureTransform
push edi
push ebx
push dword [esp + 0x24]
push dword [esp + 0xb0]
push esi
push dword [esp + 0x38]
call sub.gdiplus.dll_GdipFillRectangleI
test eax, eax
je 0x1000d6e3
mov dword [esp + 0x28], eax
push esi
call sub.gdiplus.dll_GdipDeleteBrush
push dword [esp + 0x14]
call sub.gdiplus.dll_GdipDisposeImageAttributes
push dword [esp + 0x24]
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14