Function at 0x402220
Capabilities:
Check if file exists
Get common file path
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x42896f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x300
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDC]
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
push eax
call ebx
push eax
call fcn.0042345c
mov edi, dword [eax + 4]
push edi
mov dword [esp + 0x94], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xc
push edi
mov dword [esi + 0x60], eax
call ebp
mov ecx, dword [esi + 0x64]
mov edx, dword [esi + 0x68]
xor edi, edi
lea eax, [esp + 0xf4]
push edi
mov dword [esp + 0xd4], ecx
push edi
push eax
lea ecx, [esp + 0xd8]
push edi
push ecx
push edi
mov dword [esp + 0xe4], 0x28
mov dword [esp + 0xec], edx
mov word [esp + 0xf0], 1
mov word [esp + 0xf2], 0x20
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf8], edi
mov dword [esp + 0xfc], edi
mov dword [esp + 0x100], edi
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov edx, dword [esi + 0x60]
push eax
push edx
mov dword [esp + 0xa0], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0x60]
push 0xc
push eax
call ebp
mov eax, dword [esp + 0x320]
cmp eax, edi
jl 0x402315
cmp eax, 0x64
jle 0x402320
mov dword [esp + 0x320], 0x64
fild dword [esp + 0x320]
fmul qword [str.ffffff]
call fcn.0040e428
mov byte [esi + 0x5e], al
mov ecx, dword [esi + 0x1c]
push ecx
call ebx
mov dword [esp + 0x94], eax
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xf8]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0xf8]
mov eax, dword [esi + 0x60]
mov edx, dword [esp + 0xfc]
mov dword [esp + 0xac], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0xb0], edx
push ecx
push eax
mov dword [esp + 0x48], edi
call sub.gdiplus.dll_GdipCreateFromHDC
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x64]
mov dword [esp + 0x318], edi
mov dword [esp + 0xbc], eax
mov eax, dword [esi + 0x68]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x324]
cmp eax, edi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], edi
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], edi
jne 0x4023e6
mov al, byte [esi + 0x300]
test al, al
je 0x4023e6
mov eax, dword [esi + 0x6c]
cmp eax, edi
je 0x4023f2
mov eax, dword [eax + 4]
jmp 0x4023f4
mov eax, dword [esi + 0x70]
cmp eax, edi
je 0x4023f2
mov eax, dword [eax + 4]
jmp 0x4023f4
xor eax, eax
lea edx, [esp + 0xb4]
push 3
push edx
push eax
push ecx
call sub.gdiplus.dll_GdipDrawImagePointsI
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
lea eax, [esp + 0x20]
mov dword [esp + 0x20], edi
push eax
push edi
push edi
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x20]
push edi
push ecx
mov byte [esp + 0x320], 1
call sub.gdiplus.dll_GdipSetStringFormatAlign
push eax
lea ecx, [esp + 0x24]
call fcn.00405bf0
mov edx, dword [esp + 0x20]
push 1
push edx
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
push eax
lea ecx, [esp + 0x24]
call fcn.00405bf0
lea eax, [esp + 0x30]
mov dword [esp + 0x30], edi
push eax
push edi
push edi
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x30]
push 1
push ecx
mov byte [esp + 0x320], 2
call sub.gdiplus.dll_GdipSetStringFormatAlign
push eax
lea ecx, [esp + 0x34]
call fcn.00405bf0
mov edx, dword [esp + 0x30]
push 1
push edx
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
push eax
lea ecx, [esp + 0x34]
call fcn.00405bf0
mov ebp, 0x42a8a0
push 6
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], ebp
call fcn.00405b60
lea eax, [esp + 0x40]
mov ebx, 0x42a898
push eax
push 0xfe074b7e
mov dword [esp + 0x64], ebx
mov dword [esp + 0x48], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ecx
push 6
lea ecx, [esp + 0x4c]
mov byte [esp + 0x31c], 3
mov dword [esp + 0x4c], ebp
call fcn.00405b60
lea edx, [esp + 0x58]
mov dword [esp + 0x48], ebx
push edx
mov dword [esp + 0x5c], edi
push 0xfe000000
call sub.gdiplus.dll_GdipCreateSolidFill
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], eax
mov ecx, dword [esi + 0x2e4]
mov eax, dword [esi + 0x2e0]
mov dword [esp + 0x54], ecx
push edi
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x320], 4
mov dword [esp + 0x40], edi
call fcn.00405c80
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
cmp eax, edi
mov byte [esp + 0x318], 5
mov dword [esp + 0x44], edi
mov dword [esp + 0x3c], eax
je 0x402575
call fcn.00405cb0
mov ebp, dword [eax]
call fcn.00405cb0
mov eax, dword [eax + 4]
cmp eax, edi
mov dword [esp + 0x3c], eax
je 0x402575
mov edx, dword [esp + 0x40]
push edx
jmp 0x4025c8
mov ebx, dword [esp + 0x54]
lea eax, [esp + 0x38]
push eax
push 3
push 1
push ebx
push ebp
call sub.gdiplus.dll_GdipCreateFont
cmp eax, edi
mov dword [esp + 0x3c], eax
je 0x4025c3
call fcn.00405cb0
mov ebp, dword [eax]
call fcn.00405cb0
mov eax, dword [eax + 4]
cmp eax, edi
mov dword [esp + 0x3c], eax
je 0x4025af
mov ecx, dword [esp + 0x40]
push ecx
jmp 0x4025c8
lea edx, [esp + 0x38]
push edx
push 3
push 1
push ebx
push ebp
call sub.gdiplus.dll_GdipCreateFont
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
push eax
call sub.gdiplus.dll_GdipDeleteFontFamily
mov ecx, dword [esi + 0x2e8]
mov eax, dword [esi + 0x2e0]
mov dword [esp + 0x54], ecx
push edi
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x320], 6
mov dword [esp + 0x20], edi
call fcn.00405c80
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
cmp eax, edi
mov byte [esp + 0x318], 7
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], eax
je 0x40262e
call fcn.00405cb0
mov ebp, dword [eax]
call fcn.00405cb0
mov eax, dword [eax + 4]
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x40262e
mov edx, dword [esp + 0x28]
push edx
jmp 0x40267f
mov ebx, dword [esp + 0x54]
lea eax, [esp + 0x18]
push eax
push 3
push edi
push ebx
push ebp
call sub.gdiplus.dll_GdipCreateFont
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x40267a
call fcn.00405cb0
mov ebp, dword [eax]
call fcn.00405cb0
mov eax, dword [eax + 4]
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x402667
mov ecx, dword [esp + 0x28]
push ecx
jmp 0x40267f
lea edx, [esp + 0x18]
push edx
push 3
push edi
push ebx
push ebp
call sub.gdiplus.dll_GdipCreateFont
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
push eax
call sub.gdiplus.dll_GdipDeleteFontFamily
lea ecx, [esp + 0x68]
mov byte [esp + 0x318], 8
call fcn.00405b50
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], 0x42a898
push ecx
push 0xfe7f7f7f
mov dword [esp + 0x60], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov edx, dword [esp + 0x58]
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], edx
mov eax, dword [esi + 0x218]
mov byte [esp + 0x318], 9
cmp eax, edi
je 0x402745
mov ecx, dword [esi + 0x1a0]
mov edx, dword [esi + 0x19c]
push ecx
mov ecx, dword [esi + 0x198]
push edx
mov edx, dword [esi + 0x194]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.00405c20
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
neg eax
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
sbb eax, eax
mov ebp, dword [esi + 0x214]
and eax, ecx
lea ecx, [esp + 0x30]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x1c]
neg edx
sbb edx, edx
lea eax, [esi + 0x1a4]
and edx, ebx
push ecx
mov ecx, dword [esp + 0x18]
push eax
push edx
push 0xffffffffffffffff
push ebp
push ecx
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x5c]
neg eax
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
sbb eax, eax
mov ebp, dword [esi + 0x270]
and eax, ecx
lea ecx, [esp + 0x20]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x3c]
neg edx
sbb edx, edx
lea eax, [esi + 0xa4]
and edx, ebx
push ecx
mov ecx, dword [esp + 0x18]
push eax
push edx
push 0xffffffffffffffff
push ebp
push ecx
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x5c]
neg eax
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
sbb eax, eax
mov ebp, dword [esi + 0x26c]
and eax, ecx
lea ecx, [esp + 0x20]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x3c]
neg edx
sbb edx, edx
lea eax, [esi + 0xb4]
and edx, ebx
push ecx
mov ecx, dword [esp + 0x18]
push eax
push edx
push 0xffffffffffffffff
push ebp
push ecx
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0042345c
mov ecx, dword [esi + 0x274]
mov eax, dword [eax + 8]
lea ebx, [esp + 0x28]
mov edx, dword [ecx - 8]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push edx
push ecx
push eax
call ebx
fild dword [esp + 0x28]
mov ecx, dword [esi + 0x274]
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x18]
fstp dword [esi + 0xcc]
mov edx, dword [ecx - 8]
neg eax
sbb eax, eax
and eax, ebp
lea ebp, [esi + 0xc4]
push edi
push edi
push ebp
push edi
push ebp
push eax
push edx
push ecx
mov ecx, dword [esp + 0x30]
push ecx
call sub.gdiplus.dll_GdipMeasureString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0042345c
mov ecx, dword [esi + 0x278]
mov eax, dword [eax + 8]
lea edx, [esp + 0x28]
push edx
mov edx, dword [ecx - 8]
push edx
push ecx
push eax
call ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 0x278]
fild dword [esp + 0x28]
lea eax, [esp + 0x18]
push edi
neg eax
fstp dword [esi + 0xdc]
mov edx, dword [ecx - 8]
push edi
sbb eax, eax
and eax, ebx
lea ebx, [esi + 0xd4]
push ebx
push edi
push ebx
push eax
push edx
push ecx
mov ecx, dword [esp + 0x30]
push ecx
call sub.gdiplus.dll_GdipMeasureString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
mov word [esp + 0x108], di
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x10a]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x108]
push edx
push 0x104
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [0x434c40]
mov dword [esp + 0x80], eax
lea ecx, [esp + 0x108]
push str.RM_
push ecx
lea edx, [esp + 0x88]
push 0x4340c8
push edx
mov byte [esp + 0x328], 0xa
call fcn.0041cb27
mov eax, dword [esp + 0x90]
add esp, 0x10
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4029a8
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0042345c
mov ecx, dword [esi + 0x280]
lea edi, [esp + 0x28]
push edi
mov edi, dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov edx, dword [ecx - 8]
push edx
mov edx, dword [eax + 8]
push ecx
push edx
call edi
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x18]
fild dword [esp + 0x28]
mov ecx, dword [esi + 0x280]
push 0
neg eax
fstp dword [esi + 0xec]
sbb eax, eax
push 0
and eax, edx
lea edx, [esi + 0xe4]
push edx
push 0
push edx
push eax
mov eax, dword [ecx - 8]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push eax
call sub.gdiplus.dll_GdipMeasureString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
jmp 0x4029ae
mov edi, dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esi + 0x2cc]
test eax, eax
jne 0x402a44
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
neg eax
mov edx, dword [esp + 0x20]
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x20]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x1c]
mov eax, dword [esi + 0x274]
push ecx
neg edx
mov ecx, dword [esp + 0x18]
push ebp
sbb edx, edx
and edx, dword [esp + 0x24]
push edx
push 0xffffffffffffffff
push eax
push ecx
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
neg eax
mov edx, dword [esp + 0x20]
mov ebp, dword [esi + 0x278]
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x20]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x1c]
neg edx
sbb edx, edx
push ecx
and edx, dword [esp + 0x20]
push ebx
push edx
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
push ebp
push edx
jmp 0x402b5c
cmp dword [esi + 0x2d0], 1
jne 0x402ad9
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
neg eax
mov edx, dword [esp + 0x20]
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x20]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x1c]
mov eax, dword [esi + 0x274]
push ecx
neg edx
sbb edx, edx
push ebp
and edx, dword [esp + 0x24]
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x28]
push eax
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
neg eax
mov edx, dword [esp + 0x20]
mov ebp, dword [esi + 0x278]
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x20]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x1c]
neg edx
sbb edx, edx
push ecx
and edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push ebx
push edx
push 0xffffffffffffffff
push ebp
push ecx
jmp 0x402b5c
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x68]
neg eax
mov edx, dword [esp + 0x20]
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x20]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x1c]
mov eax, dword [esi + 0x274]
push ecx
neg edx
sbb edx, edx
push ebp
and edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
push edx
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x68]
neg eax
mov edx, dword [esp + 0x20]
mov ebp, dword [esi + 0x278]
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x20]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x1c]
neg edx
mov eax, dword [esp + 0x14]
push ecx
sbb edx, edx
push ebx
and edx, dword [esp + 0x24]
push edx
push 0xffffffffffffffff
push ebp
push eax
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
cmp dword [esi + 0x2d8], 1
jne 0x402c2d
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0042345c
mov ecx, dword [esi + 0x2c4]
lea ebx, [esp + 0x28]
push ebx
mov edx, dword [ecx - 8]
push edx
mov edx, dword [eax + 8]
push ecx
push edx
call edi
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 0x2c4]
fild dword [esp + 0x28]
lea eax, [esp + 0x18]
push 0
neg eax
fstp dword [esi + 0x1ec]
mov edx, dword [ecx - 8]
push 0
sbb eax, eax
and eax, ebx
lea ebx, [esi + 0x1e4]
push ebx
push 0
push ebx
push eax
mov eax, dword [esp + 0x28]
push edx
push ecx
push eax
call sub.gdiplus.dll_GdipMeasureString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
neg eax
mov edx, dword [esp + 0x20]
mov ebp, dword [esi + 0x2c4]
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x20]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x1c]
neg edx
sbb edx, edx
push ecx
and edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push ebx
push edx
push 0xffffffffffffffff
push ebp
push ecx
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x5c]
neg eax
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x38]
sbb eax, eax
mov ebx, dword [esi + 0x288]
and eax, ecx
lea ecx, [esp + 0x20]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x3c]
neg edx
sbb edx, edx
lea eax, [esi + 0x104]
and edx, ebp
push ecx
mov ecx, dword [esp + 0x18]
push eax
push edx
push 0xffffffffffffffff
push ebx
push ecx
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
mov edx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_GetDC]
push edx
call ebp
push eax
call fcn.0042345c
mov ecx, dword [esi + 0x28c]
mov eax, dword [eax + 8]
lea ebx, [esp + 0x28]
mov edx, dword [ecx - 8]
push ebx
push edx
push ecx
push eax
call edi
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 0x28c]
fild dword [esp + 0x28]
lea eax, [esp + 0x18]
push 0
neg eax
fstp dword [esi + 0x11c]
mov edx, dword [ecx - 8]
push 0
sbb eax, eax
and eax, ebx
lea ebx, [esi + 0x114]
push ebx
push 0
push ebx
push eax
push edx
push ecx
mov ecx, dword [esp + 0x30]
push ecx
call sub.gdiplus.dll_GdipMeasureString
test eax, eax
je 0x402cea
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x2cc]
test eax, eax
jne 0x402d44
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x68]
neg eax
mov edx, dword [esp + 0x20]
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x20]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x1c]
mov eax, dword [esi + 0x28c]
push ecx
neg edx
sbb edx, edx
push ebx
and edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
push edx
call sub.gdiplus.dll_GdipDrawString
test eax, eax
je 0x402dd3
mov dword [esp + 0x14], eax
jmp 0x402dd3
mov eax, dword [esi + 0x2d0]
test eax, eax
jne 0x402d8a
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
neg eax
mov edx, dword [esp + 0x20]
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x20]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x1c]
mov eax, dword [esi + 0x28c]
push ecx
neg edx
sbb edx, edx
push ebx
and edx, dword [esp + 0x24]
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x28]
push eax
jmp 0x402dc4
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x68]
neg eax
mov edx, dword [esp + 0x20]
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x20]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x1c]
mov eax, dword [esi + 0x28c]
push ecx
neg edx
mov ecx, dword [esp + 0x18]
push ebx
sbb edx, edx
and edx, dword [esp + 0x24]
push edx
push 0xffffffffffffffff
push eax
push ecx
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x5c]
neg eax
mov edx, dword [esp + 0x20]
mov ebx, dword [esi + 0x290]
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x20]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x3c]
neg edx
sbb edx, edx
lea eax, [esi + 0x124]
and edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x18]
push eax
push edx
push 0xffffffffffffffff
push ebx
push ecx
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
push 6
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], 0x42a8a0
call fcn.00405b60
lea edx, [esp + 0x40]
mov dword [esp + 0x84], 0x42a898
push edx
push 0xfeff0000
mov dword [esp + 0x48], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x88], eax
mov ecx, dword [esi + 0x1c]
mov byte [esp + 0x318], 0xb
push ecx
call ebp
push eax
call fcn.0042345c
mov ecx, dword [esi + 0x294]
lea ebx, [esp + 0x28]
push ebx
mov edx, dword [ecx - 8]
push edx
mov edx, dword [eax + 8]
push ecx
push edx
call edi
fild dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 0x294]
lea eax, [esp + 0x18]
push 0
fadd dword [0x42a7c0]
neg eax
sbb eax, eax
push 0
and eax, ebx
lea ebx, [esi + 0x134]
fstp dword [esi + 0x13c]
mov edx, dword [ecx - 8]
push ebx
push 0
push ebx
push eax
mov eax, dword [esp + 0x28]
push edx
push ecx
push eax
call sub.gdiplus.dll_GdipMeasureString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
mov ecx, dword [esp + 0x88]
lea eax, [esp + 0x84]
neg eax
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
sbb eax, eax
mov ebp, dword [esi + 0x294]
and eax, ecx
lea ecx, [esp + 0x20]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x1c]
neg edx
sbb edx, edx
push ecx
mov ecx, dword [esp + 0x18]
and edx, edi
push ebx
push edx
push 0xffffffffffffffff
push ebp
push ecx
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
mov eax, dword [esi + 0x7c]
lea ebx, [esi + 0x184]
cmp eax, 1
jne 0x402f49
mov eax, dword [esi + 0x78]
jmp 0x402f4c
mov eax, dword [esi + 0x74]
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
push edx
mov edx, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
push edx
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00405c20
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
neg eax
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
sbb eax, eax
mov ebp, dword [esi + 0x2b4]
and eax, ecx
lea ecx, [esp + 0x30]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x1c]
neg edx
sbb edx, edx
push ecx
and edx, edi
push ebx
push edx
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
push ebp
push edx
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
push 6
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0x42a8a0
call fcn.00405b60
lea eax, [esp + 0x54]
xor edi, edi
push eax
push 0xfeffffff
mov dword [esp + 0x7c], 0x42a898
mov dword [esp + 0x5c], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ecx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 0x2a8]
lea eax, [esp + 0x18]
push edi
neg eax
mov edx, dword [ecx - 8]
push edi
sbb eax, eax
mov byte [esp + 0x320], 0xc
and eax, ebx
lea ebx, [esi + 0x1b4]
push ebx
push edi
push ebx
push eax
push edx
mov edx, dword [esp + 0x2c]
push ecx
push edx
call sub.gdiplus.dll_GdipMeasureString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
mov ebp, dword [esi + 0x2a8]
lea eax, [esp + 0x74]
neg eax
sbb eax, eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x30]
and eax, ecx
lea ecx, [esp + 0x30]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x1c]
neg edx
mov eax, dword [esp + 0x14]
push ecx
sbb edx, edx
push ebx
and edx, dword [esp + 0x24]
push edx
push 0xffffffffffffffff
push ebp
push eax
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 0x2ac]
lea eax, [esp + 0x18]
push edi
neg eax
mov edx, dword [ecx - 8]
push edi
sbb eax, eax
and eax, ebx
lea ebx, [esi + 0x1c4]
push ebx
push edi
push ebx
push eax
push edx
push ecx
mov ecx, dword [esp + 0x30]
push ecx
call sub.gdiplus.dll_GdipMeasureString
cmp eax, edi
je 0x4030ad
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x74]
neg eax
mov edx, dword [esp + 0x30]
mov ebp, dword [esi + 0x2ac]
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x30]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x1c]
neg edx
sbb edx, edx
push ecx
and edx, dword [esp + 0x20]
push ebx
push edx
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
push ebp
push edx
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 0x2b0]
lea eax, [esp + 0x18]
push edi
neg eax
mov edx, dword [ecx - 8]
push edi
sbb eax, eax
and eax, ebx
lea ebx, [esi + 0x1d4]
push ebx
push edi
push ebx
push eax
mov eax, dword [esp + 0x28]
push edx
push ecx
push eax
call sub.gdiplus.dll_GdipMeasureString
cmp eax, edi
je 0x40312d
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x74]
neg eax
mov edx, dword [esp + 0x30]
mov ebp, dword [esi + 0x2b0]
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x30]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x1c]
neg edx
sbb edx, edx
push ecx
and edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push ebx
push edx
push 0xffffffffffffffff
push ebp
push ecx
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x14]
call fcn.00405c60
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x64]
mov eax, dword [esi + 0x68]
push 0xffffffffffffffec
push ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, eax
and edx, 0x80000
cmp edx, 0x80000
je 0x4031c6
xor eax, 0x80000
push eax
mov eax, dword [esi + 0x1c]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0x60]
mov ebx, dword [esp + 0x94]
lea ecx, [esi + 0x5c]
push 2
push ecx
lea edx, [esp + 0xac]
push edi
push edx
lea ecx, [esp + 0xac]
push eax
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc0]
push ecx
push edx
push ebx
push eax
call dword [esi + 0x268]
mov eax, dword [esi + 0x60]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call sub.gdiplus.dll_GdipReleaseDC
cmp eax, edi
je 0x403211
mov dword [esp + 0x14], eax
mov edx, dword [esi + 0x1c]
push ebx
mov ebx, dword [sym.imp.USER32.dll_ReleaseDC]
push edx
call ebx
mov eax, dword [esp + 0x90]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call ebx
mov edx, dword [esp + 0x98]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x60]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x78]
mov dword [esi + 0x60], edi
mov esi, 0x42a8a0
push ecx
mov dword [esp + 0x78], esi
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x88]
mov dword [esp + 0x84], esi
push edx
call sub.gdiplus.dll_GdipDeleteBrush
lea ecx, [esp + 0x80]
mov byte [esp + 0x318], 9
call fcn.0041ead5
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x68], esi
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x18]
push ecx
call sub.gdiplus.dll_GdipDeleteFont
mov edx, dword [esp + 0x38]
push edx
call sub.gdiplus.dll_GdipDeleteFont
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], esi
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x5c], esi
push ecx
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x30]
push edx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov eax, dword [esp + 0x20]
push eax
call sub.gdiplus.dll_GdipDeleteStringFormat
mov ecx, dword [esp + 0x10]
push ecx
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x310]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x30c
ret 8