Function at 0x1000d24a
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006a98a
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x1008f210]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebp + 8]
lea esi, [esp + 0x18]
call fcn.10002557
and dword [esp + 0xb0], 0
mov edi, dword [ebp + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov esi, dword [edi]
mov ecx, dword [edi + 8]
and dword [esp + 0x20], 0
sub eax, edx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x20]
sub ecx, esi
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
call sub.gdiplus.dll_GdipCreateImageAttributes
mov dword [esp + 0x24], eax
push 0
push 0xff000000
push 3
mov byte [esp + 0xbc], 1
push dword [esp + 0x2c]
call sub.gdiplus.dll_GdipSetImageAttributesWrapMode
test eax, eax
je 0x1000d2e9
mov dword [esp + 0x24], eax
cmp byte [ebp + 0x14], 0xff
jae 0x1000d39a
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 + 0x24]
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
cmp dword [ebp + 0x18], 0
je 0x1000d3ad
push dword [ebx + 0xc]
lea eax, [esp + 0x18]
push eax
call dword [ebp + 0x18]
pop ecx
pop ecx
fld dword [0x1007d674]
fcomp dword [ebx + 0x14]
fnstsw ax
test ah, 5
jnp 0x1000d3fc
fld dword [0x1007d670]
fcomp dword [ebx + 0x14]
fnstsw ax
test ah, 0x41
je 0x1000d3fc
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov esi, dword [eax + 0xc]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov edi, dword [ebx + 0xc]
sub esi, ecx
push esi
sub eax, edx
push eax
push ecx
push edx
lea ecx, [esp + 0x30]
lea eax, [esp + 0x3c]
lea esi, [esp + 0x24]
call fcn.1000d108
jmp 0x1000d4c6
mov ecx, dword [edi]
mov eax, dword [edi + 8]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xc]
fild dword [esp + 0x10]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
fstp dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x1c], eax
push ecx
push ecx
fild dword [esp + 0x24]
lea esi, [esp + 0x1c]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp + 4]
fld dword [esp + 0x18]
fstp dword [esp]
call fcn.1000d0de
fld dword [ebx + 0x14]
push 0
fstp dword [esp + 0x2c]
push ecx
fld dword [esp + 0x30]
fstp dword [esp]
push dword [esp + 0x1c]
call sub.gdiplus.dll_GdipRotateWorldTransform
test eax, eax
je 0x1000d46d
mov dword [esp + 0x18], eax
fld dword [esp + 0x1c]
push ecx
fchs
push ecx
fstp dword [esp + 4]
lea esi, [esp + 0x1c]
fld dword [esp + 0x18]
fchs
fstp dword [esp]
call fcn.1000d0de
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov esi, dword [eax + 0xc]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov edi, dword [ebx + 0xc]
sub esi, ecx
push esi
sub eax, edx
push eax
push ecx
push edx
lea ecx, [esp + 0x30]
lea eax, [esp + 0x3c]
lea esi, [esp + 0x24]
call fcn.1000d108
push dword [esp + 0x14]
call sub.gdiplus.dll_GdipResetWorldTransform
test eax, eax
je 0x1000d4c6
mov dword [esp + 0x18], eax
push dword [esp + 0x20]
call sub.gdiplus.dll_GdipDisposeImageAttributes
push dword [esp + 0x14]
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14