Function at 0x404f0a
Capabilities:
Capture screenshot

Disassembly:
push 0x70
mov eax, 0x41f3bc
call fcn.0041de82
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [ebp - 0x4c]
call sub.mfc90.dll_Ordinal_367
mov esi, dword [ebp + 8]
xor ebx, ebx
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], ebx
call fcn.00404b84
cmp dword [edi + 0x108], ebx
jne 0x404f96
add edi, 0xe0
cmp edi, ebx
jne 0x404f4a
xor edi, edi
jmp 0x404f4d
mov edi, dword [edi + 4]
push edi
push dword [ebp - 0x48]
call sub.mfc90.dll_Ordinal_6074
push 0xcc0020
push ebx
push ebx
push dword [ebp - 0x48]
mov edi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
mov edx, dword [eax + 8]
sub edx, dword [eax]
push ecx
push edx
push ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp edi, ebx
jne 0x404f85
xor edi, edi
jmp 0x404f88
mov edi, dword [edi + 4]
push edi
push dword [ebp - 0x48]
call sub.mfc90.dll_Ordinal_6074
jmp 0x405357
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], vtable.CBitmap.0
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
lea ecx, [ebp - 0x3c]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 8]
call fcn.00404b55
push dword [ebp - 0x38]
push dword [ebp - 0x48]
call sub.mfc90.dll_Ordinal_6074
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x24], eax
call sub.mfc90.dll_Ordinal_367
push dword [ebp + 8]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.00404b84
lea eax, [edi + 0xe0]
cmp eax, ebx
jne 0x404ff2
xor eax, eax
jmp 0x404ff5
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x68]
call sub.mfc90.dll_Ordinal_6074
mov edx, dword [esi + 4]
mov edi, dword [esi]
mov ecx, dword [esi + 8]
push 0xcc0020
push edx
push edi
push dword [ebp - 0x68]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
sub ecx, edi
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
push ecx
push ebx
push ebx
push dword [ebp - 0x48]
call edi
lea ecx, [ebp - 0x7c]
call sub.mfc90.dll_Ordinal_367
push dword [ebp + 8]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.00404b84
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], vtable.CBitmap.0
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
push ebx
push 1
push 1
push eax
push ecx
mov byte [ebp - 4], 4
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [ebp - 0x34]
call sub.mfc90.dll_Ordinal_1358
push dword [ebp - 0x30]
push dword [ebp - 0x78]
call sub.mfc90.dll_Ordinal_6074
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x11c], ebx
je 0x40508f
mov eax, 0xc0c0c0
jmp 0x405092
mov eax, dword [eax + 0x54]
push eax
lea ecx, [ebp - 0x4c]
call sub.mfc90.dll_Ordinal_6166
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
push 0xcc0020
push ebx
push ebx
push dword [ebp - 0x48]
push eax
push ecx
push ebx
push ebx
push dword [ebp - 0x78]
call edi
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jne 0x4050c4
xor eax, eax
jmp 0x4050c7
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x68]
call sub.mfc90.dll_Ordinal_6074
mov eax, dword [ebp - 0x10]
add eax, 0x104
cmp eax, ebx
jne 0x4050e0
xor eax, eax
jmp 0x4050e3
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x68]
call sub.mfc90.dll_Ordinal_6074
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x18], eax
call sub.mfc90.dll_Ordinal_367
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], vtable.CBitmap.0
push dword [ebp + 8]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.00404b84
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
push ecx
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.00404b55
push dword [ebp - 0x28]
push dword [ebp - 0x58]
call sub.mfc90.dll_Ordinal_6074
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
push 0x26
push dword [eax + 8]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test eax, 0x100
je 0x405186
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x100], ebx
je 0x405186
mov ecx, dword [ebp + 8]
add eax, 0xfc
push ebx
push eax
call sub.mfc90.dll_Ordinal_6081
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [ebp - 0x10]
push ebx
add eax, 0xfc
push eax
lea ecx, [ebp - 0x5c]
call sub.mfc90.dll_Ordinal_6081
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], ebx
mov dword [ebp - 0x14], ebx
jle 0x4051f2
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
mov dword [ebp + 0x10], ebx
jle 0x4051db
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x110]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x10c]
push 0xcc0020
push ebx
push ebx
push dword [ebp - 0x68]
push eax
push ecx
push dword [ebp + 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x58]
call edi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x110]
mov ecx, dword [ebp + 0xc]
add dword [ebp + 0x10], eax
mov ecx, dword [ecx + 0xc]
cmp dword [ebp + 0x10], ecx
jl 0x4051a4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, dword [edx + 0x10c]
mov edx, dword [ebp + 0xc]
cmp eax, dword [edx + 8]
mov dword [ebp - 0x14], eax
jl 0x405194
push ebx
lea ecx, [ebp - 0x4c]
call sub.mfc90.dll_Ordinal_6166
push 0xffffff
lea ecx, [ebp - 0x4c]
call sub.mfc90.dll_Ordinal_6527
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
push 0x8800c6
push ebx
push ebx
push dword [ebp - 0x78]
push eax
push ecx
push ebx
push ebx
push dword [ebp - 0x48]
call edi
push 0xffffff
lea ecx, [ebp - 0x5c]
call sub.mfc90.dll_Ordinal_6166
push ebx
lea ecx, [ebp - 0x5c]
call sub.mfc90.dll_Ordinal_6527
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
push 0x8800c6
push ebx
push ebx
push dword [ebp - 0x78]
sub eax, ecx
mov ecx, dword [esi + 8]
push eax
sub ecx, edx
push ecx
push dword [esi + 4]
push edx
push dword [ebp - 0x58]
call edi
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
mov esi, dword [esi + 8]
push 0xee0086
push ebx
push ebx
push dword [ebp - 0x48]
sub eax, ecx
push eax
sub esi, edx
push esi
push ecx
push edx
push dword [ebp - 0x58]
call edi
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 4]
mov ecx, dword [edx + 8]
sub ecx, dword [edx]
push 0xcc0020
push ebx
push ebx
push dword [ebp - 0x58]
push eax
mov eax, dword [ebp + 8]
push ecx
push ebx
push ebx
push dword [eax + 4]
call edi
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x4052b1
xor eax, eax
jmp 0x4052b4
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x58]
call sub.mfc90.dll_Ordinal_6074
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4052c8
xor eax, eax
jmp 0x4052cb
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x78]
call sub.mfc90.dll_Ordinal_6074
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jne 0x4052df
xor eax, eax
jmp 0x4052e2
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x68]
call sub.mfc90.dll_Ordinal_6074
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x4052f6
xor eax, eax
jmp 0x4052f9
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x48]
call sub.mfc90.dll_Ordinal_6074
mov esi, vtable.CBitmap.0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
mov dword [ebp - 0x2c], esi
call fcn.00402a5d
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call sub.mfc90.dll_Ordinal_636
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
mov dword [ebp - 0x34], esi
call fcn.00402a5d
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call sub.mfc90.dll_Ordinal_636
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call sub.mfc90.dll_Ordinal_636
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
mov dword [ebp - 0x3c], esi
call fcn.00402a5d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call sub.mfc90.dll_Ordinal_636
call fcn.0041df5a
ret 0xc