Function at 0x40d6f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5355b4
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x584460]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push esi
push edi
mov eax, dword [0x584460]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0xf0]
xor edi, edi
push eax
mov esi, edx
push ecx
mov dword [esp + 0xac], esi
mov dword [esp + 0xf8], edi
mov dword [esp + 0xfc], edi
mov dword [esp + 0x100], edi
mov dword [esp + 0x104], edi
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0xa8]
call fcn.00425850
mov dword [esp + 0x110], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], vtable.CBitmap.0
mov byte [esp + 0x110], 1
cmp esi, edi
jne 0x40d79a
xor eax, eax
jmp 0x40d79d
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0xac]
call fcn.00425e85
mov eax, dword [esp + 0xfc]
sub eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf8]
sub ecx, dword [esp + 0xf0]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x60]
call fcn.00426159
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xac]
push eax
push ecx
call fcn.004261ea
mov eax, dword [esp + 0xac]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
push 2
push eax
mov byte [esp + 0x118], 2
call dword [sym.imp.gdiplus.dll_GdipSetInterpolationMode]
cmp eax, edi
je 0x40d831
mov dword [esp + 0x28], eax
push 0xffffff
lea ecx, [esp + 0xf4]
push ecx
lea ecx, [esp + 0xb0]
call fcn.004279e8
lea edx, [esp + 0x30]
push edx
push edi
push edi
mov dword [esp + 0x3c], edi
call dword [sym.imp.gdiplus.dll_GdipCreateStringFormat]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
push edi
push eax
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatAlign]
cmp eax, edi
je 0x40d873
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x30]
push edi
push ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatLineAlign]
cmp eax, edi
je 0x40d887
mov dword [esp + 0x34], eax
fild dword [ebx + 0x100]
push 0
push ecx
mov ecx, dword [0x58c450]
lea esi, [esp + 0x40]
fstp dword [esp]
call fcn.004068c0
mov eax, 0xff000000
push eax
lea edi, [esp + 0x20]
mov byte [esp + 0x114], 4
call fcn.004104f0
mov eax, dword [eax]
mov esi, dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
add esp, 4
lea edx, [esp + 0x2c]
push edx
mov edi, vtable.Gdiplus::SolidBrush.0
push eax
mov dword [esp + 0xdc], edi
mov dword [esp + 0x34], 0
call esi
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xd8], eax
lea ecx, [esp + 0x58]
push ecx
push 0x41000000
mov dword [esp + 0xc0], edi
mov dword [esp + 0x60], 0
call esi
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xbc], edx
mov byte [esp + 0x110], 6
mov eax, dword [ebx + 0xf8]
sub eax, 0x10
push eax
call fcn.00406da0
fldz
mov ecx, dword [esp + 0x34]
fst dword [esp + 0x58]
mov edi, dword [sym.imp.gdiplus.dll_GdipMeasureString]
fst dword [esp + 0x54]
add esp, 4
fst dword [esp + 0x40]
push 0
fst dword [esp + 0x48]
fld dword [0x565740]
push 0
lea esi, [eax + 0x10]
fst dword [esp + 0x50]
lea eax, [esp + 0x6c]
fstp dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x44]
push ecx
fst dword [esp + 0x80]
mov ecx, dword [esp + 0x30]
fst dword [esp + 0x7c]
lea edx, [esp + 0x50]
fst dword [esp + 0x78]
push edx
fstp dword [esp + 0x78]
push eax
push 0xffffffffffffffff
push esi
push ecx
call edi
test eax, eax
je 0x40d9a1
mov dword [esp + 0x28], eax
jmp 0x40d9b1
fld dword [esp + 0x6c]
fstp dword [esp + 0x50]
fld dword [esp + 0x70]
fstp dword [esp + 0x54]
add esi, 0xfffffff0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40d9cd
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
call fcn.00410250
mov eax, dword [0x585cac]
cmp eax, 0x64
jne 0x40d9e6
mov dword [esp + 0x14], 6
jmp 0x40da00
lea ecx, [eax + eax*2]
add ecx, ecx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x14], ecx
fldz
mov eax, dword [ebx + 0xfc]
fstp dword [esp + 0x94]
sub eax, 0x10
fild dword [esp + 0x14]
push eax
fstp dword [esp + 0x9c]
fld dword [esp + 0x54]
fstp dword [esp + 0xa0]
fld dword [esp + 0x58]
fstp dword [esp + 0xa4]
call fcn.00406da0
fldz
add esp, 4
push 0
fst dword [esp + 0x68]
push 0
fst dword [esp + 0x7c]
fst dword [esp + 0x80]
lea esi, [eax + 0x10]
mov eax, dword [esp + 0x38]
fld dword [0x565748]
lea edx, [esp + 0x48]
fstp dword [esp + 0x84]
fld dword [0x565744]
push edx
mov edx, dword [esp + 0x44]
fstp dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x84]
fst dword [esp + 0x5c]
push ecx
fst dword [esp + 0x5c]
push edx
fst dword [esp + 0x5c]
push 0xffffffffffffffff
fstp dword [esp + 0x5c]
push esi
push eax
call edi
test eax, eax
je 0x40daa9
mov dword [esp + 0x28], eax
jmp 0x40dab1
fld dword [esp + 0x48]
fstp dword [esp + 0x64]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dacd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebx + 0xe4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x40daf1
mov dword [esi + 8], eax
call fcn.00410250
mov esi, dword [ebx + 0xe4]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x40db1a
mov dword [esi + 8], eax
mov esi, dword [esp + 0x14]
call fcn.00410250
mov eax, dword [0x585cac]
cmp eax, 0x64
jne 0x40db31
mov edx, esi
jmp 0x40db3e
imul esi, eax
mov eax, 0x51eb851f
mul esi
shr edx, 5
fld dword [esp + 0x64]
mov dword [esp + 0x1c], edx
fadd qword [0x565738]
fstp dword [esp + 0xe0]
fild dword [esp + 0x1c]
test edx, edx
jns 0x40db61
fadd dword [0x5656cc]
mov eax, dword [ebx + 0xfc]
fstp dword [esp + 0xe8]
sub eax, 0x10
push eax
call fcn.00406da0
fldz
add esp, 4
fst dword [esp + 0x78]
push 0
fst dword [esp + 0x78]
push 0
fst dword [esp + 0xcc]
fst dword [esp + 0xd0]
lea esi, [eax + 0x10]
mov eax, dword [esp + 0x38]
fld dword [0x565748]
lea edx, [esp + 0x48]
fstp dword [esp + 0xd4]
fld dword [0x565744]
push edx
mov edx, dword [esp + 0x44]
fstp dword [esp + 0xdc]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xd4]
fst dword [esp + 0x5c]
push ecx
fst dword [esp + 0x5c]
push edx
fst dword [esp + 0x5c]
push 0xffffffffffffffff
fstp dword [esp + 0x5c]
push esi
push eax
call edi
test eax, eax
je 0x40dbee
mov dword [esp + 0x28], eax
jmp 0x40dbfe
fld dword [esp + 0x48]
fstp dword [esp + 0x74]
fld dword [esp + 0x4c]
fstp dword [esp + 0x78]
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dc1a
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
call fcn.00410250
mov ecx, dword [0x585cac]
cmp ecx, 0x64
jne 0x40dc34
mov dword [esp + 0x18], 6
jmp 0x40dc4e
lea ecx, [ecx + ecx*2]
add ecx, ecx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
fld dword [esp + 0xe8]
fadd dword [esp + 0xe0]
fstp dword [esp + 0x1c]
call fcn.00410250
mov ecx, dword [0x585cac]
cmp ecx, 0x64
jne 0x40dc7a
mov dword [esp + 0x14], 6
jmp 0x40dc94
lea ecx, [ecx + ecx*2]
add ecx, ecx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
mov eax, dword [ebx + 0x74]
xor edi, edi
fadd dword [esp + 0x1c]
fstp dword [esp + 0x84]
fild dword [esp + 0x18]
fstp dword [esp + 0x88]
fld dword [esp + 0x74]
fstp dword [esp + 0x8c]
fld dword [esp + 0x78]
fstp dword [esp + 0x90]
cmp eax, edi
jne 0x40df7f
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx + 0xf8]
push edx
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x9c]
push edx
mov edx, dword [esp + 0x2c]
push ecx
push 0xffffffffffffffff
push eax
push edx
call dword [sym.imp.gdiplus.dll_GdipDrawString]
cmp eax, edi
je 0x40dd04
mov dword [esp + 0x28], eax
mov esi, dword [ebx + 0xe4]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], edi
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
cmp eax, edi
je 0x40dd24
mov dword [esi + 8], eax
mov esi, dword [esp + 0x18]
call fcn.00410250
mov eax, dword [0x585cac]
cmp eax, 0x64
jne 0x40dd3b
mov edi, esi
jmp 0x40dd4a
imul esi, eax
mov eax, 0x51eb851f
mul esi
mov edi, edx
shr edi, 5
mov esi, dword [ebx + 0xe4]
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x40dd6e
mov dword [esi + 8], eax
mov esi, dword [esp + 0x14]
call fcn.00410250
mov eax, dword [0x585cac]
cmp eax, 0x64
je 0x40dd90
imul esi, eax
mov eax, 0x51eb851f
mul esi
mov esi, edx
shr esi, 5
fld dword [esp + 0x50]
call fcn.00516190
mov ecx, dword [ebx + 0xe4]
add eax, 4
test ecx, ecx
je 0x40ddab
mov ecx, dword [ecx + 4]
jmp 0x40ddad
xor ecx, ecx
push edi
push esi
push 0
push eax
push ecx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
test eax, eax
je 0x40ddc6
mov dword [esp + 0x28], eax
mov edx, dword [ebx + 0x8c]
xor edi, edi
cmp edx, dword [ebx + 0x9c]
jne 0x40de95
mov esi, dword [ebx + 0xd0]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], edi
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
cmp eax, edi
je 0x40ddfa
mov dword [esi + 8], eax
mov esi, dword [esp + 0x18]
call fcn.00410250
mov eax, dword [0x585cac]
cmp eax, 0x64
jne 0x40de13
mov dword [esp + 0x1c], esi
jmp 0x40de24
imul esi, eax
mov eax, 0x51eb851f
mul esi
shr edx, 5
mov dword [esp + 0x1c], edx
mov esi, dword [ebx + 0xd0]
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
cmp eax, edi
je 0x40de44
mov dword [esi + 8], eax
mov esi, dword [esp + 0x14]
call fcn.00410250
mov eax, dword [0x585cac]
cmp eax, 0x64
jne 0x40de5b
mov edx, esi
jmp 0x40de68
imul esi, eax
mov eax, 0x51eb851f
mul esi
shr edx, 5
mov eax, dword [ebx + 0xd0]
mov ecx, dword [ebx + 0xa0]
mov esi, dword [ebx + 0x9c]
cmp eax, edi
je 0x40de8a
mov eax, dword [eax + 4]
push dword [esp + 0x1c]
jmp 0x40df44
push dword [esp + 0x1c]
xor eax, eax
jmp 0x40df44
mov esi, dword [ebx + 0xc4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], edi
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
cmp eax, edi
je 0x40deb5
mov dword [esi + 8], eax
mov esi, dword [esp + 0x1c]
call fcn.00410250
mov eax, dword [0x585cac]
cmp eax, 0x64
jne 0x40dece
mov dword [esp + 0x14], esi
jmp 0x40dedf
imul esi, eax
mov eax, 0x51eb851f
mul esi
shr edx, 5
mov dword [esp + 0x14], edx
mov esi, dword [ebx + 0xc4]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], edi
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
cmp eax, edi
je 0x40deff
mov dword [esi + 8], eax
mov esi, dword [esp + 0x18]
call fcn.00410250
mov eax, dword [0x585cac]
cmp eax, 0x64
jne 0x40df16
mov edx, esi
jmp 0x40df23
imul esi, eax
mov eax, 0x51eb851f
mul esi
shr edx, 5
mov eax, dword [ebx + 0xc4]
mov ecx, dword [ebx + 0xa0]
mov esi, dword [ebx + 0x9c]
cmp eax, edi
je 0x40df3e
mov eax, dword [eax + 4]
jmp 0x40df40
xor eax, eax
push dword [esp + 0x14]
push edx
push ecx
push esi
mov esi, dword [esp + 0x30]
push eax
push esi
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ebx, dword [ebx + 0xfc]
push edx
mov edx, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x8c]
push ecx
push edx
push 0xffffffffffffffff
push ebx
push esi
call dword [sym.imp.gdiplus.dll_GdipDrawString]
jmp 0x40e564
cmp eax, 1
jne 0x40e227
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [ebx + 0xf8]
push ecx
push edx
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x9c]
push ecx
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.gdiplus.dll_GdipDrawString]
cmp eax, edi
je 0x40dfbb
mov dword [esp + 0x28], eax
mov esi, dword [ebx + 0xe8]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], edi
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
cmp eax, edi
je 0x40dfdb
mov dword [esi + 8], eax
mov esi, dword [esp + 0x1c]
call fcn.00410250
mov eax, dword [0x585cac]
cmp eax, 0x64
jne 0x40dff2
mov edi, esi
jmp 0x40e001
imul esi, eax
mov eax, 0x51eb851f
mul esi
mov edi, edx
shr edi, 5
mov esi, dword [ebx + 0xe8]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x40e025
mov dword [esi + 8], eax
mov esi, dword [esp + 0x18]
call fcn.00410250
mov eax, dword [0x585cac]
cmp eax, 0x64
je 0x40e047
imul esi, eax
mov eax, 0x51eb851f
mul esi
mov esi, edx
shr esi, 5
fld dword [esp + 0x50]
call fcn.00516190
mov ecx, dword [ebx + 0xe8]
add eax, 4
test ecx, ecx
je 0x40e062
mov ecx, dword [ecx + 4]
jmp 0x40e064
xor ecx, ecx
mov edx, dword [esp + 0x20]
push edi
push esi
push 0
push eax
push ecx
push edx
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
test eax, eax
je 0x40e07d
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x8c]
xor edi, edi
mov dword [esp + 0x1c], edi
cmp eax, dword [ebx + 0x9c]
jne 0x40e141
mov esi, dword [ebx + 0xd4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
cmp eax, edi
je 0x40e0b1
mov dword [esi + 8], eax
mov esi, dword [esp + 0x1c]
call fcn.00410250
mov eax, dword [0x585cac]
cmp eax, 0x64
jne 0x40e0ca
mov dword [esp + 0x14], esi
jmp 0x40e0db
imul esi, eax
mov eax, 0x51eb851f
mul esi
shr edx, 5
mov dword [esp + 0x14], edx
mov esi, dword [ebx + 0xd4]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], edi
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
cmp eax, edi
je 0x40e0fb
mov dword [esi + 8], eax
mov esi, dword [esp + 0x18]
call fcn.00410250
mov eax, dword [0x585cac]
cmp eax, 0x64
jne 0x40e112
mov edx, esi
jmp 0x40e11f
imul esi, eax
mov eax, 0x51eb851f
mul esi
shr edx, 5
mov eax, dword [ebx + 0xd4]
mov ecx, dword [ebx + 0xa0]
mov esi, dword [ebx + 0x9c]
cmp eax, edi
je 0x40e1e6
mov eax, dword [eax + 4]
jmp 0x40e1e8
mov esi, dword [ebx + 0xc8]
mov eax, dword [esi + 4]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
cmp eax, edi
je 0x40e15d
mov dword [esi + 8], eax
mov esi, dword [esp + 0x1c]
call fcn.00410250
mov eax, dword [0x585cac]
cmp eax, 0x64
jne 0x40e176
mov dword [esp + 0x14], esi
jmp 0x40e187
imul esi, eax
mov eax, 0x51eb851f
mul esi
shr edx, 5
mov dword [esp + 0x14], edx
mov esi, dword [ebx + 0xc8]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], edi
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
cmp eax, edi
je 0x40e1a7
mov dword [esi + 8], eax
mov esi, dword [esp + 0x18]
call fcn.00410250
mov eax, dword [0x585cac]
cmp eax, 0x64
jne 0x40e1be
mov edx, esi
jmp 0x40e1cb
imul esi, eax
mov eax, 0x51eb851f
mul esi
shr edx, 5
mov eax, dword [ebx + 0xc8]
mov ecx, dword [ebx + 0xa0]
mov esi, dword [ebx + 0x9c]
cmp eax, edi
je 0x40e1e6
mov eax, dword [eax + 4]
jmp 0x40e1e8
xor eax, eax
push dword [esp + 0x14]
push edx
push ecx
push esi
mov esi, dword [esp + 0x30]
push eax
push esi
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov ebx, dword [ebx + 0xfc]
push eax
mov eax, dword [esp + 0x3c]
push ecx
lea edx, [esp + 0x8c]
push edx
push eax
push 0xffffffffffffffff
push ebx
push esi
call dword [sym.imp.gdiplus.dll_GdipDrawString]
jmp 0x40e564
cmp eax, 2
jne 0x40e3dd
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [ebx + 0xf8]
push ecx
push edx
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x9c]
push ecx
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.gdiplus.dll_GdipDrawString]
cmp eax, edi
je 0x40e263
mov dword [esp + 0x28], eax
mov esi, dword [ebx + 0xec]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], edi
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
cmp eax, edi
je 0x40e283
mov dword [esi + 8], eax
mov esi, dword [esp + 0x1c]
call fcn.00410250
mov eax, dword [0x585cac]
cmp eax, 0x64
jne 0x40e29a
mov edi, esi
jmp 0x40e2a9
imul esi, eax
mov eax, 0x51eb851f
mul esi
mov edi, edx
shr edi, 5
mov esi, dword [ebx + 0xec]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x40e2cd
mov dword [esi + 8], eax
mov esi, dword [esp + 0x18]
call fcn.00410250
mov eax, dword [0x585cac]
cmp eax, 0x64
je 0x40e2ef
imul esi, eax
mov eax, 0x51eb851f
mul esi
mov esi, edx
shr esi, 5
fld dword [esp + 0x50]
call fcn.00516190
mov ecx, dword [ebx + 0xec]
add eax, 4
test ecx, ecx
je 0x40e30a
mov ecx, dword [ecx + 4]
jmp 0x40e30c
xor ecx, ecx
mov edx, dword [esp + 0x20]
push edi
push esi
push 0
push eax
push ecx
push edx
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
test eax, eax
je 0x40e325
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x8c]
cmp eax, dword [ebx + 0x9c]
jne 0x40e365
mov ecx, dword [ebx + 0xd8]
call fcn.004015c0
mov esi, eax
call fcn.00410220
push eax
push ecx
mov ecx, dword [ebx + 0xd8]
call fcn.00401590
mov esi, eax
call fcn.00410220
add esp, 4
push eax
mov eax, dword [ebx + 0xd8]
jmp 0x40e395
mov ecx, dword [ebx + 0xcc]
call fcn.004015c0
mov esi, eax
call fcn.00410220
push eax
push ecx
mov ecx, dword [ebx + 0xcc]
call fcn.00401590
mov esi, eax
call fcn.00410220
add esp, 4
push eax
mov eax, dword [ebx + 0xcc]
mov ecx, dword [ebx + 0xa0]
mov edx, dword [ebx + 0x9c]
push ecx
push edx
push eax
lea ecx, [esp + 0x38]
call fcn.004015f0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, dword [ebx + 0xfc]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x8c]
push eax
push ecx
push 0xffffffffffffffff
push ebx
push edx
call dword [sym.imp.gdiplus.dll_GdipDrawString]
jmp 0x40e564
cmp eax, 3
jne 0x40e564
mov eax, dword [ebx + 0xf8]
lea ecx, [esp + 0x94]
push ecx
push eax
lea eax, [esp + 0xc0]
lea ecx, [esp + 0x38]
lea edi, [esp + 0x40]
lea esi, [esp + 0x2c]
call fcn.00406760
mov edx, dword [ebx + 0x8c]
cmp edx, dword [ebx + 0x9c]
jne 0x40e4ac
mov ecx, dword [ebx + 0xf0]
call fcn.004015c0
mov esi, eax
call fcn.00410220
push eax
push ecx
mov ecx, dword [ebx + 0xf0]
call fcn.00401590
mov esi, eax
call fcn.00410220
fld dword [esp + 0x6c]
add esp, 4
push eax
push 0
call fcn.00516190
add eax, 4
push eax
mov eax, dword [ebx + 0xf0]
push eax
lea ecx, [esp + 0x38]
call fcn.004015f0
mov ecx, dword [ebx + 0xe0]
call fcn.004015c0
mov esi, eax
call fcn.00410220
push eax
push ecx
mov ecx, dword [ebx + 0xe0]
call fcn.00401590
mov esi, eax
call fcn.00410220
mov ecx, dword [ebx + 0xa0]
mov edx, dword [ebx + 0x9c]
add esp, 4
push eax
mov eax, dword [ebx + 0xe0]
push ecx
push edx
push eax
jmp 0x40e534
mov ecx, dword [ebx + 0xf4]
call fcn.004015c0
mov esi, eax
call fcn.00410220
push eax
push ecx
mov ecx, dword [ebx + 0xf4]
call fcn.00401590
mov esi, eax
call fcn.00410220
fld dword [esp + 0x6c]
add esp, 4
push eax
push 0
call fcn.00516190
mov ecx, dword [ebx + 0xf4]
add eax, 4
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.004015f0
mov ecx, dword [ebx + 0xdc]
call fcn.004015c0
mov esi, eax
call fcn.00410220
push eax
push ecx
mov ecx, dword [ebx + 0xdc]
call fcn.00401590
mov esi, eax
call fcn.00410220
mov edx, dword [ebx + 0xa0]
mov ecx, dword [ebx + 0xdc]
add esp, 4
push eax
mov eax, dword [ebx + 0x9c]
push edx
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.004015f0
mov ebx, dword [ebx + 0xfc]
lea edx, [esp + 0x84]
push edx
push ebx
lea eax, [esp + 0xc0]
lea ecx, [esp + 0x38]
lea edi, [esp + 0x40]
lea esi, [esp + 0x2c]
call fcn.00406760
mov eax, dword [esp + 0xfc]
sub eax, dword [esp + 0xf4]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xf8]
sub ecx, dword [esp + 0xf0]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [esp + 0xb8]
push ecx
mov ecx, dword [eax + 4]
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x58]
mov esi, dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
push edx
call esi
mov eax, dword [esp + 0x2c]
push eax
call esi
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov byte [esp + 0x110], 0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], vtable.CBitmap.0
call fcn.00402b20
lea ecx, [esp + 0xa8]
mov dword [esp + 0x110], 0xffffffff
call fcn.00425f06
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.00511b7f
mov esp, ebp
pop ebp
ret