Function at 0x4243e0
Capabilities:
Capture screenshot
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4e16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov al, byte [0x1404c14]
test al, al
jne 0x424bfd
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CDC::CDC
push ebx
push ebx
push ebx
push str.DISPLAY
mov byte [ebp - 4], 3
call dword [sym.imp.GDI32.dll_CreateDCW]
push eax
lea ecx, [ebp - 0x50]
call sub.MFC42u.DLL_CDC::Attach
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4bc520
mov esi, dword [ebp + 0x24]
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x4c]
push esi
push edi
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CGdiObject::Attach
lea ecx, [ebp - 0x30]
call sub.MFC42u.DLL_CDC::CDC
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x50]
neg eax
sbb eax, eax
mov byte [ebp - 4], 5
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x30]
call sub.MFC42u.DLL_CDC::Attach
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
jne 0x4244b1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.004b05ce
mov dword [ebp - 0x20], 0x4bc50c
mov byte [ebp - 4], 6
jmp 0x42478a
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
neg eax
sbb eax, eax
and eax, ebx
push eax
push ecx
call sub.MFC42u.DLL_CDC::SelectGdiObject
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp + 0xc]
mov ebx, eax
lea eax, [ebp - 0x50]
neg eax
sbb eax, eax
push 0x40cc0020
and eax, edx
mov edx, dword [ebp + 8]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x2c]
push esi
push edi
push 0
push 0
push eax
mov dword [ebp - 0x54], ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x42464a
lea ecx, [ebp + 0x20]
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 7
push ecx
call sub.MFC42u.DLL_CTime::GetTickCount
mov edx, dword [eax]
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x24], edx
call sub.MFC42u.DLL_CString::CString_1
push 0
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 8
call sub.MFC42u.DLL_CTime::GetLocalTm
mov eax, dword [eax]
push 0
lea ecx, [ebp + 0x24]
mov dword [ebp + 0x14], eax
call sub.MFC42u.DLL_CTime::GetLocalTm
mov ebx, dword [eax + 4]
push 0
lea ecx, [ebp + 0x24]
call sub.MFC42u.DLL_CTime::GetLocalTm
mov edi, dword [eax + 8]
push 0
lea ecx, [ebp + 0x24]
call sub.MFC42u.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0xc]
push 0
lea ecx, [ebp + 0x24]
call sub.MFC42u.DLL_CTime::GetLocalTm
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax + 0x10]
push ecx
push ebx
inc eax
push edi
push esi
push eax
lea edx, [ebp + 0x1c]
push str.__02d__02d__02d:_02d:_02d_
push edx
call sub.MFC42u.DLL_CString::Format
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x34]
add esp, 0x1c
lea edx, [ebp + 0x20]
push eax
push ecx
push str.__s__s
push edx
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0x4bc4f8
push 0
push 0x4d35a8
push 0x64
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call sub.MFC42u.DLL_CFont::CreatePointFont
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x30]
push eax
call sub.MFC42u.DLL_CDC::SelectObject
push 0xffffff
lea ecx, [ebp - 0x30]
mov esi, eax
call sub.MFC42u.DLL_CDC::SetBkColor
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp - 0x30]
mov ecx, dword [eax - 8]
push ecx
push eax
push 5
push 0xc8
lea ecx, [ebp - 0x30]
call dword [edx + 0x64]
push esi
lea ecx, [ebp - 0x30]
call sub.MFC42u.DLL_CDC::SelectObject
lea ecx, [ebp - 0x38]
call sub.MFC42u.DLL_CGdiObject::DeleteObject
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x42460b
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.MFC42u.DLL_CDC::SelectGdiObject
mov dword [ebp - 0x38], 0x4bc50c
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call sub.MFC42u.DLL_CGdiObject::DeleteObject
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x38], 0x4bc480
mov byte [ebp - 4], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_CString::CString
mov ebx, dword [ebp - 0x54]
test ebx, ebx
jne 0x424652
xor eax, eax
jmp 0x424655
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x2c]
push eax
push ecx
call sub.MFC42u.DLL_CDC::SelectGdiObject
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x50]
mov esi, dword [sym.imp.USER32.dll_ReleaseDC]
neg eax
sbb eax, eax
xor ebx, ebx
and eax, edx
push eax
push ebx
call esi
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x30]
neg eax
sbb eax, eax
and eax, edx
push eax
push ebx
call esi
mov esi, dword [ebp - 0x1c]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov dword [ebp + 0x24], eax
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x4246a9
push ebx
push esi
mov ecx, eax
call fcn.00429180
mov esi, eax
jmp 0x4246ab
xor esi, esi
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 4]
lea edx, [ebp + 0x24]
mov dword [ebp + 0x24], ebx
push edx
push eax
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x4246c5
mov dword [esi + 8], eax
mov edx, dword [esi + 4]
lea ecx, [ebp + 0x1c]
push ecx
push edx
mov dword [ebp + 0x1c], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x4246dc
mov dword [esi + 8], eax
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x1c]
lea eax, [ebp + 0x20]
mov dword [ebp - 0x74], 0x4bc4d0
push eax
push ebx
push 0x30803
push ebx
push ecx
push edx
mov dword [ebp + 0x20], ebx
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x40]
mov byte [ebp - 4], 0xc
cmp eax, 1
jne 0x4247aa
mov edx, dword [esi + 4]
lea ecx, [ebp + 0x14]
push ecx
push edx
mov dword [ebp + 0x14], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x42472e
mov dword [esi + 8], eax
cmp dword [ebp + 0x14], ebx
jbe 0x424744
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x14]
push eax
push ecx
push esi
call fcn.004394f0
add esp, 0xc
cmp esi, ebx
je 0x424750
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x4247b1
cmp esi, ebx
je 0x424763
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x4bc4c8
push ecx
call sub.gdiplus.dll_GdipDisposeImage
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.004b05ce
mov dword [ebp - 0x20], 0x4bc50c
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CGdiObject::DeleteObject
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], 0x4bc480
mov byte [ebp - 4], 2
call fcn.004b05ce
jmp 0x424bfd
mov eax, esi
mov dword [ebp - 0x14], eax
jmp 0x424753
mov esi, eax
mov eax, dword [eax + 4]
lea edx, [ebp + 0x24]
xor edi, edi
push edx
push eax
mov dword [ebp + 0x24], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x4247cc
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x24]
cmp ecx, eax
jbe 0x424831
cmp eax, ebx
jle 0x424831
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 0x24]
push ecx
mov esi, eax
mov edx, dword [eax + 4]
mov dword [ebp + 0x24], ebx
push edx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x4247f6
mov dword [esi + 8], eax
fild dword [ebp + 0x24]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 0x24]
push ecx
mov esi, eax
fidiv dword [ebp + 0x3c]
mov edx, dword [eax + 4]
mov dword [ebp + 0x24], ebx
push edx
fstp qword [ebp - 0x38]
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x42481b
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x10], eax
fild qword [ebp + 0x10]
fdiv qword [ebp - 0x38]
call sub.MSVCRT.dll__ftol
mov edi, eax
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 0x14]
push ecx
mov byte [ebp + 0x27], 0
mov edx, dword [eax + 4]
mov esi, eax
push edx
call sub.gdiplus.dll_GdipGetImagePixelFormat
cmp eax, ebx
je 0x42484e
mov dword [esi + 8], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x3c]
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x40], 0x4bc4d0
push eax
push 0
push ecx
push 0
push edi
push edx
mov dword [ebp + 0x1c], 0
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 0x20]
push ecx
mov byte [ebp - 4], 0xe
mov edx, dword [eax + 4]
mov esi, eax
push edx
mov dword [ebp + 0x20], 0
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x42489f
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x20]
cmp ecx, eax
jbe 0x4248fc
test eax, eax
jle 0x4248fc
lea ecx, [ebp - 0x40]
xor esi, esi
test ecx, ecx
mov dword [ebp + 0x24], esi
je 0x4248c6
lea edx, [ebp + 0x24]
push edx
push ebx
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov esi, dword [ebp + 0x24]
push 2
push esi
call sub.gdiplus.dll_GdipSetSmoothingMode
mov dword [ebp + 0x24], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4248dd
mov eax, dword [eax + 4]
jmp 0x4248df
xor eax, eax
mov ecx, dword [ebp + 0x3c]
push edi
push ecx
push 0
push 0
push eax
push esi
call sub.gdiplus.dll_GdipDrawImageRectI
push esi
mov dword [ebp + 0x3c], eax
mov byte [ebp + 0x27], 1
call sub.gdiplus.dll_GdipDeleteGraphics
push 0x4d27a8
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [ebp + 0x30]
mov byte [ebp - 4], 0xf
cmp eax, 1
jne 0x424922
push 0x4d34fc
lea ecx, [ebp - 0x18]
call fcn.004b0454
mov edx, dword [ebp - 0x18]
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
push 0x4d3554
push edx
call esi
add esp, 8
test eax, eax
jne 0x424948
lea eax, [ebp - 0x64]
push eax
push 0x4d3540
jmp 0x424a24
push 0x4d353c
lea ecx, [ebp + 0x20]
call sub.MFC42u.DLL_CString::CString_4
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp - 0x18]
push ecx
push edx
mov byte [ebp - 4], 0x10
call esi
add esp, 8
test eax, eax
je 0x424995
push 0x4d3538
lea ecx, [ebp + 0x3c]
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call esi
add esp, 8
lea ecx, [ebp + 0x3c]
test eax, eax
sete bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x424997
mov bl, 1
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0xf
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x4249b2
lea edx, [ebp - 0x64]
push edx
push str.image_jpeg
jmp 0x424a24
mov eax, dword [ebp - 0x18]
push 0x4d3518
push eax
call esi
add esp, 8
test eax, eax
jne 0x4249cf
lea ecx, [ebp - 0x64]
push ecx
push str.image_png
jmp 0x424a24
mov edx, dword [ebp - 0x18]
push 0x4d34fc
push edx
call esi
add esp, 8
test eax, eax
jne 0x4249ec
lea eax, [ebp - 0x64]
push eax
push str.image_gif
jmp 0x424a24
mov ecx, dword [ebp - 0x18]
push 0x4d34e0
push ecx
call esi
add esp, 8
test eax, eax
jne 0x424a09
lea edx, [ebp - 0x64]
push edx
push str.image_tiff
jmp 0x424a24
mov eax, dword [ebp - 0x18]
push 0x4d34c0
push eax
call esi
add esp, 8
test eax, eax
jne 0x424a2c
lea ecx, [ebp - 0x64]
push ecx
push str.image_ico
call fcn.0043c750
add esp, 8
mov eax, dword [0x4c0f14]
mov edx, dword [ebp + 0x2c]
mov ecx, dword [0x4c0f18]
mov dword [ebp - 0xa4], eax
mov eax, dword [0x4c0f20]
mov dword [ebp - 0x78], edx
mov edx, dword [0x4c0f1c]
mov dword [ebp - 0x98], eax
mov al, byte [ebp + 0x27]
mov dword [ebp - 0xa0], ecx
mov edi, 1
lea ecx, [ebp - 0x78]
test al, al
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x90], 4
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x8c], ecx
je 0x424aac
mov ecx, dword [ebp + 0x38]
lea edx, [ebp - 0xa8]
lea eax, [ebp - 0x64]
push edx
mov edx, dword [ebp + 0x1c]
push eax
push ecx
push edx
call sub.gdiplus.dll_GdipSaveImageToFile
test eax, eax
je 0x424ad0
mov dword [ebp - 0x38], eax
jmp 0x424ad0
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0xa8]
lea edx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp + 0x38]
push edx
mov edx, dword [eax + 4]
push ecx
push edx
mov esi, eax
call sub.gdiplus.dll_GdipSaveImageToFile
test eax, eax
je 0x424ad0
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x40]
test eax, eax
jne 0x424ae3
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x424ae3
mov eax, dword [ecx]
push edi
call dword [eax]
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CGdiObject::DeleteObject
lea ecx, [ebp - 0x88]
call sub.MFC42u.DLL_CFile::CFile
mov ecx, dword [ebp + 0x38]
push 0
push 0
push ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x11
call sub.MFC42u.DLL_CFile::Open
test eax, eax
je 0x424b88
lea ecx, [ebp - 0x88]
call sub.MFC42u.DLL_CFile::GetLength
lea ecx, [ebp - 0x88]
mov esi, eax
call sub.MFC42u.DLL_CFile::Close
cmp esi, 0x1400
jge 0x424b88
lea ecx, [ebp + 0x3c]
call sub.MFC42u.DLL_CString::CString_1
push esi
lea edx, [ebp + 0x3c]
mov bl, 0x12
push str.SCREENSHOT_ERROR__img_file_len:__d_r_n
push edx
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
push 0
push ecx
mov ecx, esp
mov dword [ebp + 0x40], esp
push 0x4e28c0
call sub.MFC42u.DLL_CString::CString_2
push ecx
lea eax, [ebp + 0x3c]
mov ecx, esp
mov dword [ebp + 0x24], esp
push eax
mov byte [ebp - 4], 0x13
call sub.MFC42u.DLL_CString::CString_3
mov byte [ebp - 4], bl
call fcn.00421fb0
add esp, 0xc
push 0
call dword [sym.imp.MSVCRT.dll_exit]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xf
call fcn.004b0436
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp + 0x1c]
push ecx
call sub.gdiplus.dll_GdipDisposeImage
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x4bc4c8
push edx
call sub.gdiplus.dll_GdipDisposeImage
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.004b05ce
mov dword [ebp - 0x20], 0x4bc50c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x14
call sub.MFC42u.DLL_CGdiObject::DeleteObject
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], 0x4bc480
mov byte [ebp - 4], 2
call fcn.004b05ce
mov dword [ebp - 4], 0
jmp 0x424c01
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x34]
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp + 0x38]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret