Function at 0x4acf50
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5102f1
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x53a1a4]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x544fac]
mov edx, dword [eax + 0xc]
xor ebx, ebx
or edi, 0xffffffff
mov ecx, 0x544fac
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 2
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
call edx
add eax, 0x10
mov dword [esp + 0x40], eax
lea eax, [esp + 0x68]
push eax
mov eax, esi
mov dword [esp + 0xbc], ebx
call fcn.00404780
movzx eax, byte [esi + 0x30]
mov dl, byte [esi + 0x31]
mov cl, byte [esi + 0x32]
or eax, 0xffffff00
movzx edx, dl
shl eax, 8
or eax, edx
movzx ecx, cl
shl eax, 8
lea edx, [esp + 0x28]
or eax, ecx
push edx
push eax
mov dword [esp + 0xa8], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x30], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xa4], eax
mov byte [esp + 0xb8], 1
cmp dword [esi + 0x30], edi
je 0x4ad0bb
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
sub ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov edi, dword [esi + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x30]
push edx
push edi
mov edi, dword [ebp + 8]
mov edx, dword [edi]
push ecx
push edx
call sub.gdiplus.dll_GdipFillRectangleI
cmp eax, ebx
je 0x4ad084
mov dword [edi + 4], eax
mov eax, dword [esi + 0x120]
cmp eax, ebx
je 0x4ad0f0
mov edx, dword [eax]
mov ecx, dword [esi + 0x18]
mov edx, dword [edx + 0x18]
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x24]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x120]
push edi
call edx
jmp 0x4ad0f0
mov ecx, dword [esi + 0x118]
cmp ecx, ebx
je 0x4ad0ed
mov edi, dword [esi + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esi + 0x1c]
mov dword [eax + 4], edi
mov edi, dword [esi + 0x20]
mov dword [eax + 8], edi
mov edi, dword [esi + 0x24]
mov dword [eax + 0xc], edi
mov eax, dword [ebp + 8]
push eax
call edx
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x108]
mov ecx, dword [esi + 0x104]
cmp eax, ecx
jne 0x4ad104
fldz
jmp 0x4ad170
jae 0x4ad112
mov dword [esi + 0x108], ecx
mov dword [esi + 0x104], eax
mov ecx, dword [esi + 0x10c]
mov eax, dword [esi + 0x104]
cmp ecx, eax
jae 0x4ad12a
mov dword [esi + 0x10c], eax
jmp 0x4ad13a
mov edx, dword [esi + 0x108]
cmp ecx, edx
jbe 0x4ad13a
mov dword [esi + 0x10c], edx
mov ecx, dword [esi + 0x10c]
sub ecx, eax
mov dword [esp + 0x2c], ecx
fild dword [esp + 0x2c]
test ecx, ecx
jge 0x4ad154
fadd qword [0x522790]
mov edx, dword [esi + 0x108]
sub edx, eax
mov dword [esp + 0x2c], edx
fild dword [esp + 0x2c]
test edx, edx
jge 0x4ad16e
fadd qword [0x522790]
fdivp st(1)
cmp dword [esi + 0x114], 0xffffffff
fst qword [esp + 0x44]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
je 0x4ad27f
sub eax, ecx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmulp st(1)
call fcn.00506e90
add eax, dword [esp + 0x18]
mov dl, byte [esi + 0x115]
mov cl, byte [esi + 0x116]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0x114]
or eax, 0xffffff00
movzx edx, dl
shl eax, 8
or eax, edx
movzx ecx, cl
shl eax, 8
lea edx, [esp + 0x14]
or eax, ecx
push edx
push eax
mov dword [esp + 0x34], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x1c], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov byte [esp + 0xb8], 2
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [edi]
sub ecx, edx
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
call sub.gdiplus.dll_GdipFillRectangleI
cmp eax, ebx
je 0x4ad237
mov dword [edi + 4], eax
mov eax, dword [esi + 0x11c]
cmp eax, ebx
je 0x4ad270
mov edx, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [edx + 0x18]
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x11c]
push edi
call edx
mov eax, dword [esp + 0x14]
push eax
call sub.gdiplus.dll_GdipDeleteBrush
jmp 0x4ad358
push 0xfffffffffffffffe
fstp st(0)
push 0xfffffffffffffffe
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul qword [esp + 0x44]
call fcn.00506e90
fld1
add eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
push ebx
push ecx
fstp dword [esp]
push 0xff426190
call sub.gdiplus.dll_GdipCreatePen1
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
sub eax, edx
push eax
mov eax, dword [edi]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x38]
push ecx
push edx
push eax
call sub.gdiplus.dll_GdipDrawRectangleI
cmp eax, ebx
je 0x4ad2fd
mov dword [edi + 4], eax
lea ecx, [esp + 0x14]
push ecx
push 0xff426190
mov dword [esp + 0x1c], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
mov dword [esp + 0x70], edx
mov edx, dword [edi]
push edx
call sub.gdiplus.dll_GdipFillRectangleI
cmp eax, ebx
je 0x4ad344
mov dword [edi + 4], eax
mov eax, dword [esp + 0x5c]
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x2c]
push ecx
call sub.gdiplus.dll_GdipDeletePen
push 0x54630c
call sub.gdiplus.dll_GdipStringFormatGetGenericTypographic
lea edx, [esp + 0x38]
mov dword [0x546310], eax
mov eax, dword [0x54630c]
push edx
push eax
mov dword [esp + 0x40], ebx
call sub.gdiplus.dll_GdipCloneStringFormat
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x38]
push 1
push ecx
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, ebx
je 0x4ad393
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x38]
push 1
push edx
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, ebx
je 0x4ad3a7
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x9c]
movzx eax, cl
mov edx, ecx
or eax, 0xffffff00
shr edx, 8
movzx edx, dl
shl eax, 8
or eax, edx
shr ecx, 0x10
movzx ecx, cl
shl eax, 8
lea edx, [esp + 0x14]
or eax, ecx
push edx
push eax
mov dword [esp + 0x34], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x1c], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov byte [esp + 0xb8], 4
cmp dword [esi + 0x110], ebx
je 0x4ad4af
fld qword [esp + 0x44]
fmul qword [0x5227e8]
call fcn.00506e90
push eax
push str._d__
lea edi, [esp + 0x48]
call fcn.00418bf0
mov eax, dword [esp + 0xa0]
add esp, 8
cmp eax, ebx
jne 0x4ad436
call fcn.00404970
fild dword [esi + 0x18]
mov edx, dword [esi + 0x20]
sub edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x24]
sub ecx, dword [esi + 0x1c]
fstp dword [esp + 0x54]
fild dword [esi + 0x1c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x44], edx
mov dword [esp + 0x2c], ecx
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fstp dword [esp + 0x58]
fld dword [esp + 0x50]
fstp dword [esp + 0x5c]
fild dword [esp + 0x44]
fstp dword [esp + 0x60]
fild dword [esp + 0x2c]
fstp dword [esp + 0x64]
mov ecx, dword [esi - 0xc]
cmp eax, ebx
je 0x4ad487
mov eax, dword [eax]
jmp 0x4ad489
xor eax, eax
mov edx, dword [esp + 0x14]
mov edi, dword [ebp + 8]
push edx
mov edx, dword [esp + 0x3c]
push edx
lea edx, [esp + 0x60]
push edx
push eax
mov eax, dword [edi]
push ecx
push esi
push eax
call sub.gdiplus.dll_GdipDrawString
cmp eax, ebx
je 0x4ad4b3
mov dword [edi + 4], eax
jmp 0x4ad4b3
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
push ecx
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x38]
push edx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov eax, dword [esp + 0x28]
push eax
call sub.gdiplus.dll_GdipDeleteBrush
lea eax, [esi - 0x10]
mov dword [esp + 0xb8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ad4f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4