Function at 0x428440
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x490470
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esp + 0x10], 0
test esi, esi
jne 0x428497
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]
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x5c]
push ecx
push edx
call ebx
lea ecx, [esp + 0x4c]
call fcn.004899de
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], vtable.CBitmap.0
mov byte [esp + 0x78], 1
cmp esi, eax
je 0x4284cf
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x50]
call sub.mfc90u.dll_CDC::Attach
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x20]
call sub.mfc90u.dll_CGdiObject::Attach
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x50]
push eax
push ecx
call sub.mfc90u.dll_CDC::SelectGdiObject
push 0xffffff
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CBrush::CBrush
mov byte [esp + 0x78], 2
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
push edx
lea eax, [esp + 0x60]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [edi + 0x74]
push edx
push 1
push 0
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CPen::CPen
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 3
call sub.mfc90u.dll_CDC::SelectObject
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x3c]
push ecx
push edx
mov esi, eax
call ebx
mov ecx, dword [esp + 0x3c]
mov eax, 1
sub dword [esp + 0x44], eax
sub dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x58]
call sub.mfc90u.dll_CDC::MoveTo
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x54]
call sub.mfc90u.dll_CDC::LineTo
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
add edx, 0xfffffff6
push edx
push eax
lea ecx, [esp + 0x54]
call sub.mfc90u.dll_CDC::LineTo
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
add ecx, 0xfffffff6
push ecx
add edx, 0xfffffff7
push edx
lea ecx, [esp + 0x54]
call sub.mfc90u.dll_CDC::LineTo
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
inc eax
add ecx, 0xffffffec
push eax
push ecx
lea ecx, [esp + 0x54]
call sub.mfc90u.dll_CDC::LineTo
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push edx
add eax, 0xffffffec
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x58]
call sub.mfc90u.dll_CDC::MoveTo
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
add edx, 0xfffffff6
push edx
add eax, 0xffffffe2
push eax
lea ecx, [esp + 0x54]
call sub.mfc90u.dll_CDC::LineTo
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
add ecx, 0xfffffff6
push ecx
push edx
lea ecx, [esp + 0x54]
call sub.mfc90u.dll_CDC::LineTo
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x54]
call sub.mfc90u.dll_CDC::LineTo
push esi
lea ecx, [esp + 0x50]
call sub.mfc90u.dll_CDC::SelectObject
cmp dword [0x4bbc80], 0
je 0x428736
mov esi, dword [edi + 0x218]
mov dword [0x4bbc80], 0
cmp esi, dword [edi + 0x21c]
jbe 0x428676
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [edi + 0x20c]
mov dword [esp + 0x18], esi
mov esi, dword [edi + 0x21c]
cmp dword [edi + 0x218], esi
jbe 0x428694
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0x20c]
test ebx, ebx
je 0x4286a2
cmp ebx, eax
je 0x4286a8
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x18], esi
je 0x428726
mov esi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test ebx, ebx
jne 0x42871a
call esi
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x10]
jb 0x4286c7
call esi
mov eax, dword [esp + 0x18]
cmp dword [eax + 4], 0
je 0x4286fa
test ebx, ebx
jne 0x42871e
call esi
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x4286e4
call esi
mov edx, dword [esp + 0x18]
mov esi, dword [edx + 4]
lea ecx, [esp + 0x4c]
call fcn.00425160
mov esi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test ebx, ebx
jne 0x428722
call esi
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x42870d
call esi
add dword [esp + 0x18], 0x148
jmp 0x428680
mov eax, dword [ebx]
jmp 0x4286bc
mov eax, dword [ebx]
jmp 0x4286d9
mov eax, dword [ebx]
jmp 0x428702
push 0
push 0x2000000
push 0
mov ecx, edi
call sub.mfc90u.dll_CWnd::ModifyStyle
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov esi, dword [ebp + 8]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [esp + 0x4c]
call sub.mfc90u.dll_CDC::DeleteDC
lea ecx, [esp + 0x1c]
call sub.mfc90u.dll_CGdiObject::DeleteObject
cmp dword [esp + 0x10], 0
je 0x428786
mov eax, dword [esi + 4]
push eax
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x78], 2
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CPen.0
call fcn.004066b0
mov byte [esp + 0x78], 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], vtable.CBrush.0
call fcn.004066b0
mov byte [esp + 0x78], 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBitmap.0
call fcn.004066b0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x78], 0xffffffff
call sub.mfc90u.dll_CDC::CDC
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4