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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x1001b134
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x10021024]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x34], ebx
lea eax, [esp + 0x24]
xor edi, edi
push eax
push edi
mov dword [esp + 0x2c], edi
call sub.gdiplus.dll_GdipCreatePath
mov dword [esp + 0x28], eax
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x9c]
push ecx
push edi
lea edx, [esi + 0x800]
mov dword [esp + 0x108], edi
push edx
mov dword [esp + 0xa8], edi
call sub.gdiplus.dll_GdipCreateFontFamilyFromName
mov dword [esp + 0xa0], eax
fild dword [esi + 0x904]
mov eax, dword [esi + 0x908]
mov edx, dword [esp + 0x9c]
fstp dword [esp + 0x18]
push edi
fldz
lea ecx, [esp + 0xa8]
fst dword [esp + 0xa8]
push ecx
fst dword [esp + 0xb0]
push ecx
fst dword [esp + 0xb8]
fstp dword [esp + 0xbc]
fld dword [esp + 0x24]
fstp dword [esp]
push eax
mov eax, dword [esp + 0x34]
push edx
push 0xffffffffffffffff
push esi
push eax
call sub.gdiplus.dll_GdipAddPathString
cmp eax, edi
je 0x100099e7
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x24]
push edi
push edi
lea ecx, [esp + 0x8c]
push ecx
push edx
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], edi
call sub.gdiplus.dll_GdipGetPathWorldBoundsI
cmp eax, edi
je 0x10009a1f
mov dword [esp + 0x28], eax
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], edi
call sub.gdiplus.dll_GdipCreateMatrix
mov esi, dword [esp + 0x40]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], esi
mov byte [esp + 0x100], 2
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
neg ecx
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
neg edx
mov dword [esp + 0x18], edx
push edi
fstp dword [esp + 0x3c]
sub esp, 8
fild dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp + 4]
fld dword [esp + 0x44]
fstp dword [esp]
push esi
call sub.gdiplus.dll_GdipTranslateMatrix
cmp eax, edi
je 0x10009a92
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x24]
push esi
push eax
call sub.gdiplus.dll_GdipTransformPath
cmp eax, edi
je 0x10009aa5
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x24]
push edi
push edi
lea ecx, [esp + 0x8c]
push ecx
push edx
call sub.gdiplus.dll_GdipGetPathWorldBoundsI
cmp eax, edi
je 0x10009ac1
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
add eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x90]
add eax, edx
mov dword [esp + 0x2c], eax
cmp dword [0x1002320c], edi
je 0x10009cdc
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
lea ecx, [esp + 0x24]
push ecx
lea esi, [esp + 0x64]
mov byte [esp + 0x104], 3
call fcn.10001110
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], edi
call sub.gdiplus.dll_GdipGetPointCount
cmp eax, edi
je 0x10009b32
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000f546
mov esi, dword [esp + 0x20]
xor edi, edi
add esp, 4
cmp eax, edi
je 0x10009b7a
lea edx, [esi - 1]
cmp edx, edi
mov ecx, eax
jl 0x10009b74
fldz
fst dword [ecx + 4]
add ecx, 8
sub edx, 1
fst dword [ecx - 8]
jns 0x10009b64
fstp st(0)
mov dword [esp + 0x20], eax
jmp 0x10009b7e
mov dword [esp + 0x20], edi
push esi
call fcn.1000f546
mov ecx, dword [esp + 0x6c]
add esp, 4
push esi
push ecx
push eax
mov dword [esp + 0x24], eax
call fcn.10011640
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
add esp, 0xc
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], eax
test esi, esi
jle 0x10009c28
mov esi, dword [0x1002320c]
mov eax, dword [esp + 0x64]
fld dword [eax + edi*8 + 4]
sub esp, 0x10
fstp qword [esp + 8]
lea ecx, [esp + 0x54]
fld dword [eax + edi*8]
lea edx, [esp + 0x84]
fstp qword [esp]
push ecx
push edx
lea eax, [esi + 8]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x78]
call fcn.1000f190
fld qword [esp + 0x9c]
mov eax, dword [esp + 0x48]
fstp dword [eax + edi*8]
inc edi
fld qword [esp + 0x6c]
add esp, 0x28
cmp edi, dword [esp + 0x1c]
fstp dword [eax + edi*8 - 4]
jl 0x10009bc4
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x58]
push edx
push 0
push esi
mov esi, dword [esp + 0x24]
push esi
push eax
mov dword [esp + 0x6c], 0
call sub.gdiplus.dll_GdipCreatePath2
mov dword [esp + 0x5c], eax
mov byte [esp + 0x100], 4
mov ecx, dword [esp + 0x24]
push ecx
call sub.gdiplus.dll_GdipResetPath
test eax, eax
je 0x10009c65
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
push 0
push edx
push eax
call sub.gdiplus.dll_GdipAddPathPath
test eax, eax
je 0x10009c7e
mov dword [esp + 0x28], eax
mov eax, dword [0x1002320c]
lea edi, [esp + 0x2c]
lea ecx, [esp + 0x30]
call fcn.1000f290
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1000f4cf
add esp, 4
push esi
call fcn.1000f4cf
mov edx, dword [esp + 0x5c]
add esp, 4
push edx
call sub.gdiplus.dll_GdipDeletePath
mov byte [esp + 0x100], 2
mov eax, dword [esp + 0x64]
test eax, eax
je 0x10009cc9
push eax
call fcn.1000f4cf
add esp, 4
mov eax, dword [esp + 0x68]
test eax, eax
je 0x10009cda
push eax
call fcn.1000f4cf
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ebx + 4]
push 0x20
push eax
push ecx
push edx
call sub.WS_ImageProc.dll_Ordinal_8
mov eax, dword [ebx + 4]
push 0xffffff
push eax
call sub.WS_ImageProc.dll_Ordinal_23
mov ecx, dword [ebx + 4]
push ecx
call sub.WS_ImageProc.dll_Ordinal_10
mov edx, dword [ebx + 4]
push edx
mov esi, eax
call sub.WS_ImageProc.dll_Ordinal_9
lea ecx, [esp + 0x6c]
push ecx
push esi
push eax
mov dword [esp + 0x78], edi
call sub.gdiplus.dll_GdipCreateBitmapFromGdiDib
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x7c]
push edx
push eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0x84], edi
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov eax, dword [esp + 0x7c]
push 2
mov esi, eax
push eax
mov dword [esp + 0x68], esi
call sub.gdiplus.dll_GdipSetSmoothingMode
lea eax, [esp + 0x38]
push eax
push 0xff202020
mov dword [esp + 0x40], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
push ecx
push eax
push esi
mov dword [esp + 0xb4], eax
call sub.gdiplus.dll_GdipFillPath
mov eax, dword [esp + 0x2c]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x74], 0xff
mov dword [esp + 0x50], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x44], eax
jle 0x10009dc1
mov eax, 0xff
cdq
idiv ecx
cmp eax, edi
mov dword [esp + 0x44], eax
jg 0x10009dc1
mov dword [esp + 0x44], 1
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x20], edi
jle 0x10009e68
cmp dword [esp + 0x20], ecx
jge 0x10009ddf
sub dword [esp + 0x74], eax
add dword [esp + 0x1c], eax
jmp 0x10009de7
sub dword [esp + 0x1c], eax
add dword [esp + 0x50], eax
cmp dword [esp + 0x30], edi
mov dword [esp + 0x18], edi
jle 0x10009e56
mov edi, dword [ebx + 4]
push edi
call sub.WS_ImageProc.dll_Ordinal_11
push edi
mov ebx, eax
call sub.WS_ImageProc.dll_Ordinal_14
push edi
mov esi, eax
call sub.WS_ImageProc.dll_Ordinal_10
sub esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
dec esi
imul esi, ebx
add eax, esi
cmp byte [eax + ecx*4 + 3], 0xff
lea eax, [eax + ecx*4]
jne 0x10009e39
movzx edx, byte [esp + 0x74]
mov byte [eax + 2], dl
movzx edx, byte [esp + 0x50]
mov byte [eax + 1], dl
movzx edx, byte [esp + 0x1c]
mov byte [eax], dl
mov ebx, dword [esp + 0x34]
inc ecx
cmp ecx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
jl 0x10009df1
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x60]
xor edi, edi
inc dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x20], edx
jl 0x10009dcf
lea eax, [esp + 0x34]
push eax
push 0xff000000
mov dword [esp + 0x3c], edi
call sub.gdiplus.dll_GdipCreateSolidFill
fld1
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x94]
push ecx
push edi
push ecx
fstp dword [esp]
push eax
mov ebx, eax
mov dword [esp + 0xa4], edi
call sub.gdiplus.dll_GdipCreatePen2
mov edx, dword [esp + 0x24]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x94]
push edx
push eax
push esi
call sub.gdiplus.dll_GdipDrawPath
mov ecx, dword [esp + 0x94]
push ecx
call sub.gdiplus.dll_GdipDeletePen
push ebx
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0xa8]
push edx
call sub.gdiplus.dll_GdipDeleteBrush
push esi
call sub.gdiplus.dll_GdipDeleteGraphics
mov eax, dword [esp + 0xb8]
push eax
call sub.gdiplus.dll_GdipDisposeImage
mov ecx, dword [esp + 0x40]
push ecx
call sub.gdiplus.dll_GdipDeleteMatrix
mov edx, dword [esp + 0x9c]
push edx
call sub.gdiplus.dll_GdipDeleteFontFamily
mov eax, dword [esp + 0x24]
push eax
call sub.gdiplus.dll_GdipDeletePath
mov al, 1
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4