Function at 0x4083b0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4559f3
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x476028]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x476028]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov esi, ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x2b
jne 0x408412
mov ecx, esi
mov byte [eax], 1
call fcn.00408820
jmp 0x408790
cmp ecx, 0xf
jne 0x4085f6
push 0x40
mov byte [eax], 1
xor ebx, ebx
lea eax, [esp + 0x58]
push ebx
push eax
call sub.MSVCR80.dll_memset
mov edx, dword [esi + 0x40]
add esp, 0xc
lea ecx, [esp + 0x54]
push ecx
push edx
call dword [sym.imp.USER32.dll_BeginPaint]
push edi
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x14], eax
call sub.MFC80U.DLL_Ordinal_2361
lea ecx, [esp + 0x2c]
mov edi, eax
call sub.MFC80U.DLL_Ordinal_347
cmp edi, ebx
mov dword [esp + 0xa8], ebx
jne 0x40846a
xor eax, eax
jmp 0x40846d
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x30]
call sub.MFC80U.DLL_Ordinal_1270
mov ecx, dword [esi + 0x40]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.CBitmap.0
mov byte [esp + 0xa8], 1
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
mov edx, dword [edi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x18]
call sub.MFC80U.DLL_Ordinal_1271
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
push eax
push ecx
call sub.MFC80U.DLL_Ordinal_5633
mov edx, dword [edi + 8]
push 6
push edx
mov ebx, eax
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call sub.MFC80U.DLL_Ordinal_2362
cmp dword [eax + 4], 0
je 0x4084fa
push eax
lea ecx, [esp + 0x30]
call sub.MFC80U.DLL_Ordinal_5638
push 0xffffff
lea ecx, [esp + 0x40]
call sub.MFC80U.DLL_Ordinal_326
mov byte [esp + 0xa8], 2
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x40]
push 4
push eax
push 0x318
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [edi + 4]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
test ebx, ebx
je 0x408570
mov ebx, dword [ebx + 4]
mov ecx, dword [esp + 0x30]
push ebx
push ecx
call sub.MFC80U.DLL_Ordinal_5633
lea ecx, [esp + 0x2c]
call sub.MFC80U.DLL_Ordinal_1920
lea ecx, [esp + 0x14]
call sub.MFC80U.DLL_Ordinal_1925
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x40]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi + 0x40]
lea ecx, [esp + 0x54]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
mov byte [esp + 0xa8], 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], vtable.CBrush.0
call fcn.00407b40
mov byte [esp + 0xa8], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.CBitmap.0
call fcn.00407b40
lea ecx, [esp + 0x2c]
mov dword [esp + 0xa8], 0xffffffff
call sub.MFC80U.DLL_Ordinal_602
jmp 0x408790
cmp ecx, 0x14
jne 0x408603
mov byte [eax], 1
jmp 0x408790
cmp ecx, 0x2c
je 0x4085fb
cmp ecx, 0x2b0f
jne 0x408643
push edx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x50]
mov dword [esp + 0xac], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x408790
cmp ecx, 0x2b11
jne 0x40867e
push edx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x5c]
mov dword [esp + 0xac], 4
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x408790
cmp ecx, 0x2b12
jne 0x40868e
mov dword [esi + 0x60], edx
jmp 0x408790
cmp ecx, 0x39
je 0x4085fb
cmp ecx, 0x200
jne 0x40875c
mov eax, dword [esi + 0x54]
movsx ecx, dx
shr edx, 0x10
sub eax, ecx
movsx edi, dx
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4086ce
mov eax, dword [esi + 0x58]
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jl 0x408790
lea edx, [esp + 0x10]
push edx
push edi
push ecx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x58], edi
call fcn.0040e410
cmp eax, 0xffffffff
je 0x408790
cmp dword [esi + 0x4c], eax
je 0x408790
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x40]
push 0x188
push eax
call edi
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x40]
push 0
push ecx
push 0x186
push edx
mov ebx, eax
call edi
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x40]
lea eax, [esp + 0x44]
push eax
push ecx
push 0x198
push edx
call edi
mov ecx, dword [esi + 0x40]
push 0
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x40]
lea edx, [esp + 0x44]
push edx
push ebx
push 0x198
push eax
call edi
push 0
lea ecx, [esp + 0x48]
push ecx
jmp 0x408786
cmp ecx, 5
jne 0x40877a
push eax
mov eax, dword [ebp + 0x10]
push edx
push eax
push ecx
push edi
mov ecx, esi
call fcn.004149d0
mov ecx, dword [esi + 0x40]
push 0
push 0
push ecx
jmp 0x40878a
cmp ecx, 0x20a
jne 0x408790
push 0
push 0
mov edx, dword [esi + 0x40]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00452313
mov esp, ebp
pop ebp
ret 0x14