Function at 0x44c990
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4644c8
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x47c020]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x47c020]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x10]
push eax
push dword [ecx + 0xc]
mov dword [esp + 0x18], 0
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ebx
mov ecx, esi
mov dword [esp + 0xa0], 0
call fcn.004130f0
test eax, eax
je 0x44ca1d
mov eax, dword [eax]
jmp 0x44ca1f
xor eax, eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
mov esi, dword [esi + 0xc]
test eax, eax
je 0x44ca57
lea ecx, [esp + 0x54]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
lea eax, [esp + 0x10]
push eax
je 0x44ca5c
lea eax, [esp + 0x58]
push eax
push esi
call dword [sym.imp.gdiplus.dll_GdipCreateFontFromLogfontA]
jmp 0x44ca63
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.gdiplus.dll_GdipCreateFontFromDC]
mov esi, dword [esp + 0x10]
xorps xmm0, xmm0
push 0x481534
movss dword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.gdiplus.dll_GdipStringFormatGetGenericTypographic]
mov dword [0x481538], eax
lea eax, [esp + 0x14]
push eax
push dword [0x481534]
mov dword [esp + 0x1c], 0
call dword [sym.imp.gdiplus.dll_GdipCloneStringFormat]
mov dword [esp + 0x18], eax
mov ecx, 0x1000
xor eax, eax
and dword [ebp + 0x14], 0x20
cmovne eax, ecx
push eax
push dword [esp + 0x18]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatFlags]
mov ecx, dword [esp + 0x18]
test eax, eax
cmovne ecx, eax
cmp dword [ebp + 0x18], 0xffffffff
mov dword [esp + 0x18], ecx
jne 0x44cb1d
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x44caf4
mov edi, dword [edi]
push 0
push 0
lea ecx, [esp + 0x28]
xorps xmm0, xmm0
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x40]
push ecx
push esi
push eax
push edi
push ebx
movups xmmword [esp + 0x54], xmm0
call dword [sym.imp.gdiplus.dll_GdipMeasureString]
jmp 0x44cbab
cmp dword [ebp + 0x14], 0
mov eax, dword [sym.imp.gdiplus.dll_GdipMeasureString]
je 0x44cb5e
push 0
push 0
lea ecx, [esp + 0x28]
xorps xmm0, xmm0
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x54]
push ecx
push esi
push 2
push 0x471cec
push ebx
movups xmmword [esp + 0x68], xmm0
call eax
movss xmm0, dword [esp + 0x2c]
mov eax, dword [sym.imp.gdiplus.dll_GdipMeasureString]
movss dword [esp + 0x1c], xmm0
cmp dword [edi + 0x14], 8
movd xmm0, dword [ebp + 0x18]
mov ecx, dword [edi + 0x10]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x3c], xmm0
jb 0x44cb93
mov edi, dword [edi]
push 0
push 0
lea edx, [esp + 0x28]
push edx
push dword [esp + 0x20]
lea edx, [esp + 0x40]
push edx
push esi
push ecx
push edi
push ebx
call eax
movss xmm1, dword [esp + 0x20]
mov edi, dword [esp + 0x40]
movss xmm2, dword [esp + 0x24]
cvttss2si eax, xmm1
addss xmm1, dword [esp + 0x28]
push dword [esp + 0x14]
mov dword [edi], eax
cvttss2si eax, xmm2
addss xmm2, dword [esp + 0x30]
addss xmm1, dword [0x471dc8]
mov dword [edi + 4], eax
addss xmm2, dword [0x471dc8]
cvttss2si eax, xmm1
cvttss2si ecx, xmm2
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
call dword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
push esi
call dword [sym.imp.gdiplus.dll_GdipDeleteFont]
push ebx
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov eax, edi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0044e224
mov esp, ebp
pop ebp
ret 0x14