Function at 0x431320
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48e5b9
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp esi, ebx
jne 0x431375
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.mfc90u.dll_CDC::FromHandle
mov dword [ebp + 8], eax
mov dword [esp + 0x10], 1
mov esi, eax
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x2c]
call fcn.004899de
mov dword [esp + 0x48], ebx
cmp esi, ebx
jne 0x431399
xor eax, eax
jmp 0x43139c
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CDC::Attach
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.CBitmap.0
mov byte [esp + 0x48], 1
mov eax, dword [edi + 0xf4]
mov ecx, dword [edi + 0xf0]
push eax
mov eax, dword [esi + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x18]
call sub.mfc90u.dll_CGdiObject::Attach
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4313f4
mov ecx, dword [esp + 0x30]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [esp + 0x2c]
push edx
mov esi, edi
call fcn.00430ad0
cmp dword [edi + 0x60], ebx
je 0x431431
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x68]
mov edx, dword [esp + 0x30]
push 0xff
push eax
mov eax, dword [edi + 0xf4]
push ecx
mov ecx, dword [edi + 0xf0]
push ebx
push ebx
push eax
push ecx
push ebx
push ebx
lea esi, [edi + 0x5c]
push edx
call fcn.004014d0
mov esi, dword [edi + 0xbc]
add dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov eax, dword [edi + 0xc8]
mov ecx, dword [edi + 0xc0]
mov edx, dword [edi + 0xc4]
sub dword [esp + 0x24], ecx
add ebx, edx
sub esi, eax
cmp dword [edi + 0x90], 0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], esi
je 0x4315cd
mov ecx, dword [edi + 0xd4]
cmp ecx, 0xa
lea eax, [edi + 0x8c]
push 0xff
jl 0x431511
mov ecx, dword [edi + 0xdc]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x38]
push 0xa
push 0
push 0
sub esi, ebx
push esi
push 0xa
push ebx
push edx
push ecx
mov esi, eax
call fcn.004014d0
mov edx, dword [edi + 0xdc]
mov esi, dword [edi + 0xd4]
push 0xff
push edx
mov ecx, esi
mov eax, edi
call fcn.00431000
sub eax, 0xa
push eax
push 0
mov ecx, esi
mov eax, edi
call fcn.00431000
mov ecx, dword [edi + 0xd8]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
sub ecx, eax
add ecx, 0xa
push ecx
sub edx, ebx
push edx
mov ecx, esi
mov eax, edi
call fcn.00431000
sub eax, 0xa
push eax
mov eax, dword [esp + 0x38]
push ebx
add eax, 0xa
lea esi, [edi + 0x8c]
jmp 0x4315c2
mov edx, dword [edi + 0xdc]
push edx
mov eax, edi
call fcn.00431000
mov ecx, dword [edi + 0xd4]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push 0
sub esi, ebx
push esi
mov eax, edi
call fcn.00431000
mov ecx, dword [esp + 0x48]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x38]
push ebx
push eax
lea ebx, [edi + 0x8c]
push ecx
mov esi, ebx
call fcn.004014d0
mov edx, dword [edi + 0xdc]
mov esi, dword [edi + 0xd4]
push 0xff
push edx
mov ecx, esi
mov eax, edi
call fcn.00431000
cdq
sub eax, edx
sar eax, 1
push eax
push 0
mov ecx, esi
mov eax, edi
call fcn.00431000
mov ecx, dword [edi + 0xd8]
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
sub edx, dword [esp + 0x30]
sar eax, 1
sub ecx, eax
push ecx
push edx
mov ecx, esi
mov eax, edi
call fcn.00431000
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x3c]
push eax
mov ecx, esi
mov eax, edi
call fcn.00431000
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x3c]
mov esi, ebx
mov ecx, dword [esp + 0x50]
push eax
push ecx
call fcn.004014d0
cmp dword [edi + 0xe8], 0
je 0x431672
lea ecx, [esp + 0xc]
call dword [0x497e20]
mov byte [esp + 0x48], 2
mov edx, dword [edi + 0xd4]
push edx
lea eax, [esp + 0x10]
push 0x4a0810
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov edx, dword [edi + 0x20]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [edi + 0xe0]
push eax
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CDC::SelectObject_2
push 1
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CDC::SetBkMode
mov ecx, dword [edi + 0x58]
push ecx
lea ecx, [esp + 0x30]
mov esi, eax
call sub.mfc90u.dll_CDC::SetTextColor
mov eax, dword [edi + 0xec]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx - 0xc]
push eax
lea eax, [esp + 0x20]
push eax
push edx
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x70]
push ecx
lea ecx, [esp + 0x3c]
call eax
push esi
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CDC::SetBkMode
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 0xf4]
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [edi + 0xf0]
push edx
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esp + 0x10], 0
je 0x4316b4
mov esi, dword [esi + 4]
mov edx, dword [edi + 0x20]
push esi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x48], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.CBitmap.0
call fcn.004066b0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call sub.mfc90u.dll_CDC::CDC
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4