Function at 0x402ed0
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x406c40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
lea ecx, [esp + 0x20]
call fcn.00405df0
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC71U.DLL_COleClientItem::FreezeLink
mov ebp, eax
cmp ebp, ebx
jne 0x402f13
xor eax, eax
jmp 0x402f16
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call sub.MFC71U.DLL_CAsyncSocket::Attach
lea eax, [esi + 0x2cc]
cmp eax, ebx
jne 0x402f35
xor eax, eax
jmp 0x402f38
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.MFC71U.DLL_COleControl::SelectFontObject
lea edx, [esp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x2c0]
cmp eax, ebx
je 0x402fa9
mov ecx, dword [esi + 0x2c4]
cmp ecx, ebx
jne 0x402f6e
xor ecx, ecx
jmp 0x402f71
mov ecx, dword [ecx + 4]
push ecx
mov ecx, dword [eax + 4]
push ecx
call sub.MFC71U.DLL_COleControl::SelectFontObject
mov ecx, dword [esi + 0x2c8]
cmp ecx, ebx
je 0x402f8c
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov ecx, dword [esi + 0x2c0]
cmp ecx, ebx
mov dword [esi + 0x2c8], ebx
je 0x402fa3
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x2c0], ebx
cmp dword [esi + 0x2c0], ebx
push edi
jne 0x403070
push 0x10
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x3c], 1
je 0x402fd8
mov ecx, eax
call fcn.00405df0
mov edi, eax
jmp 0x402fda
xor edi, edi
cmp ebp, ebx
mov byte [esp + 0x3c], bl
mov dword [esi + 0x2c0], edi
jne 0x402fec
xor eax, eax
jmp 0x402fef
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call sub.MFC71U.DLL_CAsyncSocket::Attach
push 8
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
cmp eax, ebx
je 0x403019
mov dword [eax + 4], ebx
mov dword [eax], 0x408744
mov edi, eax
jmp 0x40301b
xor edi, edi
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
sub ecx, edx
push eax
push ecx
mov dword [esi + 0x2c8], edi
mov ecx, dword [ebp + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.MFC71U.DLL_CDC::Attach
mov eax, dword [esi + 0x2c8]
cmp eax, ebx
mov ecx, dword [esi + 0x2c0]
jne 0x40305d
xor eax, eax
jmp 0x403060
mov eax, dword [eax + 4]
mov edx, dword [ecx + 4]
push eax
push edx
call sub.MFC71U.DLL_COleControl::SelectFontObject
mov dword [esi + 0x2c4], eax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push 0xcc0020
push ebx
push ebx
sub eax, edi
mov edi, dword [esp + 0x34]
push edi
push eax
sub ecx, edx
mov edx, dword [esi + 0x2c0]
mov eax, dword [edx + 4]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0xc]
cmp eax, ebx
pop edi
jne 0x4030b1
xor eax, eax
jmp 0x4030b4
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.MFC71U.DLL_COleControl::SelectFontObject
mov edx, dword [ebp + 4]
mov eax, dword [esi + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi + 0x20]
call fcn.00405bd0
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC71U.DLL_CDBVariant::CDBVariant
mov ecx, dword [esp + 0x30]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret