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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x478cea
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x496684]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x496684]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov edi, dword [esi + 0x40]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x1c]
push ecx
xor ebx, ebx
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
cmp eax, ebx
je 0x410def
mov dword [edi + 8], eax
mov edi, dword [esi + 0x40]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
cmp eax, ebx
je 0x410e14
mov dword [edi + 8], eax
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
cmp eax, ebx
je 0x410e26
mov eax, dword [eax + 4]
jmp 0x410e28
xor eax, eax
mov edi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
push ecx
push edx
push eax
mov eax, dword [edi]
push eax
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
cmp eax, ebx
je 0x410e49
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x14]
mov edi, dword [esi + 0x44]
mov edx, dword [esi + 0x18]
lea eax, [esp + 0x10]
mov dword [esp + 0x38], ecx
mov ecx, dword [edi + 4]
push eax
push ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x18], ebx
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
cmp eax, ebx
je 0x410e74
mov dword [edi + 8], eax
mov edx, dword [esi + 0x38]
imul edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
test edx, edx
jns 0x410e8e
fadd dword [0x48dcd0]
fdiv qword [0x48dcc8]
call fcn.00431c80
mov edi, dword [esi + 0x44]
mov ecx, dword [edi + 4]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x28], ebx
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
cmp eax, ebx
je 0x410eba
mov dword [edi + 8], eax
mov edi, dword [esi + 0x44]
mov eax, dword [edi + 4]
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
cmp eax, ebx
je 0x410ed7
mov dword [edi + 8], eax
mov edi, dword [esi + 0x44]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
cmp eax, ebx
je 0x410efc
mov dword [edi + 8], eax
mov ecx, dword [esi + 0x38]
imul ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
test ecx, ecx
jns 0x410f16
fadd dword [0x48dcd0]
fdiv qword [0x48dcc8]
call fcn.00431c80
mov ecx, dword [esi + 0x44]
cmp ecx, ebx
je 0x410f2d
mov ecx, dword [ecx + 4]
jmp 0x410f2f
xor ecx, ecx
mov edx, dword [esp + 0x18]
push ebx
push ebx
mov edi, dword [esp + 0x1c]
push ebx
push 2
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x38]
push ebx
push ebx
push eax
mov eax, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [edi]
push edx
push ecx
push eax
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectRectI]
cmp eax, ebx
je 0x410f65
mov dword [edi + 4], eax
lea ecx, [esp + 0x48]
push ecx
push ebx
push str.Arial
mov dword [esp + 0x54], ebx
call dword [sym.imp.gdiplus.dll_GdipCreateFontFamilyFromName]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x80], ebx
mov edx, dword [edi]
push 4
push edx
call dword [sym.imp.gdiplus.dll_GdipSetSmoothingMode]
cmp eax, ebx
je 0x410f97
mov dword [edi + 4], eax
mov eax, dword [edi]
push 7
push eax
call dword [sym.imp.gdiplus.dll_GdipSetInterpolationMode]
cmp eax, ebx
je 0x410fa9
mov dword [edi + 4], eax
lea ecx, [esp + 0x50]
push ecx
push ebx
push ebx
mov dword [esp + 0x5c], ebx
call dword [sym.imp.gdiplus.dll_GdipCreateStringFormat]
mov dword [esp + 0x54], eax
mov byte [esp + 0x80], 1
mov edx, dword [esi + 0x38]
push edx
push 0x48c140
lea eax, [esp + 0x60]
push 0xc
push eax
call fcn.004309ef
add esp, 0x10
lea ecx, [esp + 0x30]
push ecx
push ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.gdiplus.dll_GdipCreatePath]
mov dword [esp + 0x34], eax
mov byte [esp + 0x80], 2
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x58]
lea edx, [eax + 2]
add ecx, 0x1d
mov dword [esp + 0x18], edx
jmp 0x411010
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x411010
sub eax, dword [esp + 0x18]
fld dword [0x48dcc4]
mov dword [esp + 0x3c], ecx
sar eax, 1
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x1c]
add eax, dword [esi + 0x14]
lea ecx, [esp + 0x38]
cdq
sub eax, edx
mov edx, dword [esp + 0x48]
sar eax, 1
sub eax, 0x14
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push ecx
lea ecx, [esp + 0x64]
fstp dword [esp]
push ebx
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
call dword [sym.imp.gdiplus.dll_GdipAddPathStringI]
cmp eax, ebx
je 0x41107a
mov dword [esp + 0x34], eax
mov esi, 1
mov dword [esp + 0x14], esi
fild dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push ebx
push ecx
fstp dword [esp]
push 0x200080c0
mov dword [esp + 0x34], ebx
call dword [sym.imp.gdiplus.dll_GdipCreatePen1]
mov dword [esp + 0x28], eax
mov byte [esp + 0x80], 3
mov ecx, dword [esp + 0x24]
push 2
push ecx
call dword [sym.imp.gdiplus.dll_GdipSetPenLineJoin]
cmp eax, ebx
je 0x4110c1
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov ecx, dword [edi]
push edx
push eax
push ecx
call dword [sym.imp.gdiplus.dll_GdipDrawPath]
cmp eax, ebx
je 0x4110db
mov dword [edi + 4], eax
mov byte [esp + 0x80], 2
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.gdiplus.dll_GdipDeletePen]
inc esi
mov dword [esp + 0x14], esi
cmp esi, 8
jl 0x411083
mov dword [esp + 0x24], vtable.Gdiplus::Brush.0
mov dword [esp + 0x2c], 6
mov byte [esp + 0x80], 4
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
mov dword [esp + 0x2c], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x1c], ebx
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], esi
mov byte [esp + 0x80], 5
mov ecx, dword [esp + 0x30]
mov edx, dword [edi]
push ecx
push esi
push edx
call dword [sym.imp.gdiplus.dll_GdipFillPath]
cmp eax, ebx
je 0x411153
mov dword [edi + 4], eax
mov byte [esp + 0x80], 2
push esi
mov dword [esp + 0x28], vtable.Gdiplus::Brush.0
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.gdiplus.dll_GdipDeletePath]
mov byte [esp + 0x80], bl
mov ecx, dword [esp + 0x50]
push ecx
call dword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
mov dword [esp + 0x80], 0xffffffff
mov edx, dword [esp + 0x48]
push edx
call dword [sym.imp.gdiplus.dll_GdipDeleteFontFamily]
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0042ca72
mov esp, ebp
pop ebp
ret 8