Function at 0x423c80
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x491ca0
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb8]
mov eax, dword [ebp + 0x3f0]
mov eax, dword [eax - 0xc]
xor esi, esi
cmp eax, esi
je 0x4242f6
cmp dword [ebp + 0x3ec], esi
je 0x4242f6
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x64], esi
cmp edi, esi
jne 0x423d03
mov ecx, dword [ebp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.mfc90u.dll_CDC::FromHandle
mov dword [esp + 0xbc], eax
mov dword [esp + 0x64], 1
mov edi, eax
lea ecx, [esp + 0x3c]
call fcn.004899de
mov dword [esp + 0xb0], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], vtable.CBitmap.0
mov byte [esp + 0xb0], 1
mov dl, byte [ebp + 0x3f4]
mov byte [esp + 0x2c], 0
mov byte [esp + 0x2d], 0
mov byte [esp + 0x2e], dl
mov byte [esp + 0x2f], 0
cmp edi, esi
jne 0x423d48
xor eax, eax
jmp 0x423d4b
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x40]
call sub.mfc90u.dll_CDC::Attach
lea eax, [ebp + 0x7c]
cmp eax, esi
je 0x423d76
mov eax, dword [eax + 4]
cmp eax, esi
je 0x423d76
push eax
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
fld qword [ebp + 0x458]
fld qword [0x4a8bb8]
fmul st(1), st(0)
fxch st(1)
call fcn.0048b190
fmul qword [ebp + 0x450]
mov dword [esp + 0x18], eax
call fcn.0048b190
mov edx, dword [ebp + 0x20]
lea ecx, [esp + 0x98]
push ecx
push edx
mov ebx, eax
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [ebp + 0x40c], esi
je 0x423dee
mov eax, dword [ebp + 0x414]
fld qword [ebp + 0x450]
mov dword [esp + 0x18], eax
fimul dword [esp + 0x18]
call fcn.0048b190
fld qword [ebp + 0x458]
mov ecx, dword [ebp + 0x418]
mov dword [esp + 0x18], ecx
fimul dword [esp + 0x18]
mov ebx, eax
call fcn.0048b190
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0xc8]
mov esi, dword [esp + 0xc4]
mov ecx, edx
sub ecx, ebx
mov eax, esi
sub esi, dword [esp + 0x18]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc4], esi
jns 0x423e38
mov eax, dword [esp + 0x9c]
mov esi, dword [esp + 0x18]
mov dword [esp + 0xc4], eax
add eax, esi
mov dword [esp + 0xcc], eax
mov ebx, dword [ebp + 0x3f0]
mov ebx, dword [ebx - 0xc]
lea esi, [ebp + 0x3f0]
mov dword [esp + 0x74], ebx
test ebx, ebx
jle 0x423e8b
mov eax, esi
push edi
lea esi, [esp + 0x58]
call fcn.00426b10
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, ecx
mov dword [esp + 0x58], edx
cdq
idiv ebx
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xc8]
dec ebx
imul eax, ebx
sub ecx, eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xc0], ecx
sub eax, dword [esp + 0xc4]
sub edx, ecx
push eax
mov eax, dword [edi + 4]
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x60]
call sub.mfc90u.dll_CGdiObject::Attach
mov eax, dword [esp + 0x60]
test eax, eax
je 0x423ebe
mov ecx, dword [esp + 0x40]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0xc4]
mov esi, dword [esp + 0xc0]
mov eax, dword [esp + 0xcc]
mov ebx, dword [edi + 4]
mov ecx, dword [esp + 0xc8]
push 0xcc0020
push edx
push esi
push ebx
sub eax, edx
mov edx, dword [esp + 0x50]
push eax
sub ecx, esi
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xcc]
xor esi, esi
mov dword [esp + 0x28], eax
sub dword [esp + 0x28], ebx
sub ecx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], esi
cmp dword [ebp + 0x40c], esi
je 0x42402c
mov edx, dword [ebp + 0x418]
mov esi, dword [ebp + 0x414]
push 0xff
push edx
push esi
push 0
push 0
sub eax, ebx
push eax
push ecx
mov ecx, dword [esp + 0x5c]
push 0
push 0
push ecx
lea esi, [ebp + 0x408]
call fcn.004014d0
push 1
lea ecx, [esp + 0x40]
call sub.mfc90u.dll_CDC::SetBkMode
mov dword [esp + 0x18], eax
push edi
lea eax, [ebp + 0x3f0]
lea esi, [esp + 0x58]
call fcn.00426b10
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add eax, edx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
sub ecx, eax
mov dword [esp + 0x1c], ecx
add ecx, esi
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
lea eax, [edx + ecx]
cdq
sub eax, edx
mov ecx, eax
mov eax, ebx
cdq
sar ecx, 1
sub eax, edx
sar eax, 1
sub ecx, eax
mov dword [esp + 0x20], ecx
add ecx, ebx
mov dword [esp + 0x28], ecx
push 0xffffff
lea ecx, [esp + 0x40]
call sub.mfc90u.dll_CDC::SetTextColor
mov eax, dword [ebp + 0x3f0]
mov ecx, dword [eax - 0xc]
push 0x8025
lea edx, [esp + 0x20]
push edx
push ecx
push eax
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 0x70]
lea ecx, [esp + 0x4c]
call edx
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
call sub.mfc90u.dll_CDC::SetBkMode
jmp 0x424276
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], esi
call sub.gdiplus.dll_GdipCreateFromHDC
fld1
mov edi, dword [esp + 0x18]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x68]
push eax
push esi
push ecx
fstp dword [esp]
push 0xffdb0000
mov dword [esp + 0x5c], edi
mov dword [esp + 0x78], esi
call sub.gdiplus.dll_GdipCreatePen1
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x18]
lea esi, [esp + 0x7c]
mov dword [esp + 0x18], 0xffdb0000
call fcn.00406540
lea eax, [esp + 0x18]
lea esi, [esp + 0x8c]
mov dword [esp + 0x18], 0xffffffff
call fcn.00406540
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x18]
push ecx
xor ebx, ebx
push edx
mov dword [esp + 0x20], ebx
call sub.gdiplus.dll_GdipCreateFontFromDC
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
push 8
mov dword [esp + 0x58], eax
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebx
je 0x4240d3
push esi
push ebx
push ebx
mov dword [esi], ebx
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esi + 4], eax
jmp 0x4240d5
xor esi, esi
mov dword [esp + 0x30], ebx
cmp esi, ebx
je 0x4240e1
mov esi, dword [esi]
jmp 0x4240e3
xor esi, esi
lea ecx, [esp + 0x30]
push ecx
push esi
call sub.gdiplus.dll_GdipCloneStringFormat
mov edx, dword [esp + 0x30]
push 1
push edx
mov dword [esp + 0x3c], eax
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, ebx
je 0x424106
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
push 1
push eax
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, ebx
je 0x42411a
mov dword [esp + 0x34], eax
push 2
push edi
call sub.gdiplus.dll_GdipSetSmoothingMode
cmp eax, ebx
je 0x42412a
mov dword [esp + 0x50], eax
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
sub ecx, ebx
lea eax, [ecx - 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x24]
sar esi, 1
push esi
sub eax, edx
push esi
dec ecx
dec eax
push ecx
push eax
mov eax, ebx
mov ebx, edx
call fcn.00423aa0
add esp, 0x10
test eax, eax
je 0x424162
mov eax, dword [eax]
jmp 0x424164
xor eax, eax
mov ecx, dword [esp + 0x68]
push eax
push ecx
push edi
call sub.gdiplus.dll_GdipDrawPath
test eax, eax
je 0x424178
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
push esi
sub ecx, eax
sub edx, ebx
push esi
dec ecx
push ecx
dec edx
push edx
call fcn.00423aa0
mov edx, dword [eax]
mov ebx, dword [esp + 0x90]
add esp, 0x10
push edx
push ebx
push edi
call sub.gdiplus.dll_GdipFillPath
test eax, eax
je 0x4241b3
mov dword [esp + 0x50], eax
fild dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
fstp dword [esp + 0x70]
fild dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x74]
inc eax
fstp dword [esp + 0x78]
lea edx, [esp + 0x7c]
fld dword [esp + 0x70]
push edx
fstp dword [esp + 0x80]
push ecx
fld dword [esp + 0x80]
lea ecx, [esp + 0x38]
fstp dword [esp + 0x88]
lea edi, [esp + 0x5c]
fild dword [esp + 0x40]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x3f0]
push eax
fstp dword [esp + 0x90]
lea eax, [esp + 0x98]
fild dword [esp + 0x44]
lea esi, [esp + 0x58]
fstp dword [esp + 0x94]
call fcn.00426aa0
mov edx, dword [esp + 0x30]
push edx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov eax, dword [esp + 0x18]
push eax
call sub.gdiplus.dll_GdipDeleteFont
mov ecx, dword [esp + 0x90]
push ecx
call sub.gdiplus.dll_GdipDeleteBrush
push ebx
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x68]
push edx
call sub.gdiplus.dll_GdipDeletePen
mov eax, dword [esp + 0x4c]
push eax
call sub.gdiplus.dll_GdipDeleteGraphics
mov edi, dword [esp + 0xbc]
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xcc]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc8]
push ebx
mov ebx, dword [esp + 0x44]
sub eax, edx
push eax
sub ecx, esi
push ecx
push 0
push 0
push ebx
push eax
push ecx
mov ecx, dword [edi + 4]
push edx
push esi
push ecx
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
cmp dword [esp + 0x64], 0
je 0x4242c9
mov edi, dword [edi + 4]
mov edx, dword [ebp + 0x20]
push edi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0xb0], 0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], vtable.CBitmap.0
call fcn.004066b0
lea ecx, [esp + 0x3c]
mov dword [esp + 0xb0], 0xffffffff
call sub.mfc90u.dll_CDC::CDC
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret 0x18