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

Disassembly:
sub esp, 0x148
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x44]
push eax
mov esi, vtable.Gdiplus::SolidBrush.0
xor ebx, ebx
push 0xffb7c3cc
mov dword [esp + 0xd0], esi
mov dword [esp + 0x4c], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
mov ebp, dword [esp + 0x44]
lea ecx, [esp + 0x30]
push ecx
push 0xfe000000
mov dword [esp + 0xd8], eax
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xc4], esi
mov dword [esp + 0x38], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc4], eax
lea eax, [esp + 0x3c]
push eax
push 0xfeffffff
mov dword [esp + 0xc8], edx
mov dword [esp + 0x44], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
lea ecx, [esp + 0x38]
push ecx
push 0xffe9eef0
mov dword [esp + 0x40], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x2c]
push eax
push 0xfe3a92d2
mov dword [esp + 0x158], edx
mov dword [esp + 0xdc], esi
mov dword [esp + 0x34], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
fld dword [0x5126bc]
mov ecx, dword [esp + 0x2c]
push ebx
push ecx
mov dword [esp + 0xe0], ecx
fstp dword [esp]
mov ecx, 0x4fe948
lea esi, [esp + 0x78]
mov dword [esp + 0xe4], eax
call fcn.00405290
lea edx, [esp + 0x14]
push edx
push ebx
push ebx
mov dword [esp + 0x20], ebx
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
push ebx
push eax
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, ebx
je 0x417ef6
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
push 1
push ecx
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, ebx
je 0x417f0a
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x14]
push 1
push edx
call sub.gdiplus.dll_GdipSetStringFormatHotkeyPrefix
cmp eax, ebx
je 0x417f1e
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
push 0x1000
push eax
call sub.gdiplus.dll_GdipSetStringFormatFlags
cmp eax, ebx
je 0x417f35
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x15c]
mov eax, dword [edi]
cmp eax, ebx
je 0x4185b9
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4185b9
mov ecx, dword [edi]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [esp + 0x88], esi
cmp esi, ebx
jne 0x417fa7
mov edx, dword [esp + 0x14]
push edx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov eax, dword [esp + 0x70]
push eax
call sub.gdiplus.dll_GdipDeleteFont
mov ecx, dword [esp + 0x2c]
push ecx
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x38]
push edx
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0x3c]
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x30]
push ecx
jmp 0x4185f3
mov eax, dword [edi]
lea edx, [esp + 0x60]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
sub edi, dword [esp + 0x60]
sub ebp, dword [esp + 0x64]
push ebx
push ebx
lea eax, [esp + 0x128]
push eax
mov ecx, 0x20
mov word [esp + 0x13e], cx
push ebx
lea ecx, [esp + 0x134]
push ecx
mov edx, 1
push esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x13c], 0x28
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x140], edi
mov dword [esp + 0x144], ebp
mov word [esp + 0x148], dx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push esi
mov dword [esp + 0x5c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x58]
mov esi, eax
push edx
push esi
mov dword [esp + 0x98], esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x28]
push eax
push esi
mov dword [esp + 0x30], ebx
call sub.gdiplus.dll_GdipCreateFromHDC
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
push 3
push eax
mov dword [esp + 0x28], eax
call sub.gdiplus.dll_GdipSetTextRenderingHint
cmp eax, ebx
je 0x41806c
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x15c]
mov eax, dword [ecx + 8]
cmp eax, ebx
je 0x418086
mov ecx, dword [eax + 0x34]
cmp ecx, ebx
je 0x418086
mov esi, dword [ecx + 4]
jmp 0x418088
xor esi, esi
cmp eax, ebx
je 0x41809c
mov eax, dword [eax + 0x34]
cmp eax, ebx
je 0x41809c
mov edx, dword [eax + 8]
mov dword [esp + 0x28], edx
jmp 0x4180a0
mov dword [esp + 0x28], ebx
cmp esi, ebx
je 0x41810a
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], eax
neg ecx
push ecx
neg eax
push eax
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x74]
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x90], edx
call dword [sym.imp.USER32.dll_OffsetRect]
call fcn.004014c0
sub eax, 0xa
push eax
call fcn.00401490
sub eax, 0xa
push eax
lea ecx, [esp + 0x28]
push ecx
lea eax, [esp + 0x84]
mov edi, esi
call fcn.00417840
mov edi, dword [esp + 0x4c]
add esp, 0xc
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
lea edx, [ebp - 0xc]
push edx
push 0x1a
push 6
push 6
push eax
push ecx
call sub.gdiplus.dll_GdipFillRectangleI
cmp eax, ebx
je 0x41812b
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x15c]
mov eax, dword [edx + 4]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x8c], eax
cmp eax, ebx
je 0x418504
mov ebp, dword [eax + 0x20]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x5c], ebx
cmp dword [eax + 0xc], ebx
jbe 0x4184fc
jmp 0x418160
test dword [ebp], 0x800
je 0x4181e4
mov ecx, dword [ebp + 0x1c]
add ecx, 0x1e
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
test ecx, ecx
jge 0x418181
fadd dword [0x51266c]
mov edx, dword [ebp + 0x28]
fstp dword [esp + 0xe0]
mov eax, dword [ebp + 0x24]
shr edx, 1
add edx, dword [ebp + 0x20]
sub eax, 0x28
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
mov dword [esp + 0x10], eax
fstp dword [esp + 0xe4]
fild dword [esp + 0x10]
test eax, eax
jge 0x4181b7
fadd dword [0x51266c]
fstp dword [esp + 0xe8]
lea ecx, [esp + 0xc8]
fld1
push ecx
lea eax, [esp + 0xe4]
fstp dword [esp + 0xf0]
lea esi, [esp + 0x24]
call fcn.00405410
jmp 0x418405
test byte [ebp + 4], 0x80
je 0x41825e
mov edx, dword [ebp + 0x1c]
fild dword [ebp + 0x1c]
test edx, edx
jge 0x4181fa
fadd dword [0x51266c]
mov eax, dword [ebp + 0x20]
fstp dword [esp + 0xf0]
fild dword [ebp + 0x20]
test eax, eax
jge 0x418211
fadd dword [0x51266c]
mov ecx, dword [ebp + 0x24]
fstp dword [esp + 0xf4]
fild dword [ebp + 0x24]
test ecx, ecx
jge 0x418228
fadd dword [0x51266c]
mov edx, dword [ebp + 0x28]
fstp dword [esp + 0xf8]
fild dword [ebp + 0x28]
test edx, edx
jge 0x41823f
fadd dword [0x51266c]
lea eax, [esp + 0xd4]
fstp dword [esp + 0xfc]
push eax
lea eax, [esp + 0xf4]
lea esi, [esp + 0x24]
call fcn.00405410
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x418348
mov ecx, dword [ebp + 0x1c]
add ecx, 0x20
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
test ecx, ecx
jge 0x418281
fadd dword [0x51266c]
mov edx, dword [ebp + 0x20]
fstp dword [esp + 0xac]
fild dword [ebp + 0x20]
test edx, edx
jge 0x418298
fadd dword [0x51266c]
mov ecx, dword [ebp + 0x24]
fstp dword [esp + 0xb0]
sub ecx, 0x20
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
test ecx, ecx
jge 0x4182b7
fadd dword [0x51266c]
mov edx, dword [ebp + 0x28]
fstp dword [esp + 0xb4]
fild dword [ebp + 0x28]
test edx, edx
jge 0x4182ce
fadd dword [0x51266c]
test byte [ebp + 4], 3
fstp dword [esp + 0xb8]
je 0x418325
lea eax, [esp + 0x1c]
lea esi, [esp + 0x78]
mov dword [esp + 0x1c], 0xfeaca899
call fcn.00405490
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0xac]
push eax
push 0xffffffffffffffff
push ecx
mov eax, esi
lea ecx, [esp + 0x20]
lea edi, [esp + 0x7c]
lea esi, [esp + 0x2c]
call fcn.00405230
mov edx, dword [esp + 0x7c]
push edx
mov dword [esp + 0x7c], vtable.Gdiplus::Brush.0
call sub.gdiplus.dll_GdipDeleteBrush
jmp 0x418348
lea ecx, [esp + 0xac]
push ecx
push 0xffffffffffffffff
push eax
lea eax, [esp + 0xc8]
lea ecx, [esp + 0x20]
lea edi, [esp + 0x7c]
lea esi, [esp + 0x2c]
call fcn.00405230
cmp dword [ebp + 0xc], ebx
je 0x418405
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x418405
mov edx, dword [ebp + 0x24]
sub edx, 0xc
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
test edx, edx
jge 0x418375
fadd dword [0x51266c]
mov eax, dword [ebp + 0x20]
fstp dword [esp + 0x100]
add eax, 6
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jge 0x418394
fadd dword [0x51266c]
fstp dword [esp + 0x104]
fld dword [0x5127a4]
fst dword [esp + 0x108]
fstp dword [esp + 0x10c]
call fcn.004014c0
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jge 0x4183c6
fadd dword [0x51266c]
push ecx
fstp dword [esp]
call fcn.00401490
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
test eax, eax
jge 0x4183e1
fadd dword [0x51266c]
sub esp, 0xc
fstp dword [esp + 8]
mov edi, esi
fldz
xor ecx, ecx
fst dword [esp + 4]
lea eax, [esp + 0x110]
lea esi, [esp + 0x30]
fstp dword [esp]
call fcn.00405550
mov esi, dword [ebp + 0x38]
cmp esi, ebx
je 0x4184d0
test byte [ebp + 4], 8
je 0x4184d0
call fcn.00401490
mov esi, dword [ebp + 0x38]
mov edi, eax
mov dword [esp + 0x48], edi
call fcn.004014c0
cmp edi, 0x1a
mov ecx, eax
mov dword [esp + 0x10], ecx
jle 0x418441
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x54], edx
jmp 0x418454
mov eax, 0x1a
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp + 0x1c]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x28]
cmp ecx, eax
jbe 0x418460
mov eax, dword [ebp + 0x20]
jmp 0x418467
sub eax, ecx
shr eax, 1
add eax, dword [ebp + 0x20]
fild dword [esp + 0x54]
mov dword [esp + 0x1c], eax
mov edi, dword [ebp + 0x38]
sub esp, 0x10
fstp dword [esp + 0x120]
xor ecx, ecx
fild dword [esp + 0x2c]
lea eax, [esp + 0x120]
lea esi, [esp + 0x30]
fstp dword [esp + 0x124]
fild dword [esp + 0x58]
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
fst dword [esp + 0x128]
fild dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fst dword [esp + 0x12c]
fstp dword [esp + 0xc]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00405550
mov eax, dword [esp + 0x4c]
add eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x4c], eax
cmp eax, dword [ecx + 0x14]
ja 0x4184fc
mov eax, dword [esp + 0x5c]
inc eax
add ebp, 0x3c
mov dword [esp + 0x5c], eax
cmp eax, dword [ecx + 0xc]
jb 0x418160
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x50]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x90]
push 2
lea eax, [esp + 0x38]
push eax
push ebx
mov dword [esp + 0xb0], ecx
lea ecx, [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x16c]
push esi
mov dword [esp + 0xbc], edx
lea edx, [esp + 0xa8]
push edx
mov edx, dword [ecx]
lea eax, [esp + 0xbc]
mov dword [esp + 0xac], edi
mov edi, dword [esp + 0xa0]
push eax
push edi
push edx
mov byte [esp + 0x5b], 1
mov byte [esp + 0x59], bl
mov byte [esp + 0x58], bl
mov byte [esp + 0x5a], 0xff
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc0], ebx
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x15c]
mov edx, dword [ecx]
push edi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x20]
push eax
call sub.gdiplus.dll_GdipDeleteGraphics
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
push ecx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov edx, dword [esp + 0x70]
push edx
call sub.gdiplus.dll_GdipDeleteFont
mov eax, dword [esp + 0x2c]
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x150]
push ecx
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x3c]
push edx
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0x30]
push eax
call sub.gdiplus.dll_GdipDeleteBrush
push ebp
call sub.gdiplus.dll_GdipDeleteBrush
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret 4