Function at 0x419820
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4632a2
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
mov eax, dword [0x47e820]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
cmp dword [edi + 0x20], 0
je 0x419e86
push 0xff6400
lea ecx, [esp + 0x20]
call fcn.00428755
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
mov dword [esp + 0x5c], 0
call fcn.00428672
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov edx, 2
lea ecx, [eax - 0x19]
mov dword [edi + 0x74], ecx
add eax, 0xfffffffd
mov dword [edi + 0x78], edx
mov esi, 0x18
mov dword [edi + 0x7c], eax
push 8
mov dword [edi + 0x80], esi
call fcn.00424b1e
xor esi, esi
add esp, 4
cmp eax, esi
je 0x4198cd
mov dword [eax + 4], esi
mov dword [eax], vtable.CBitmap.0
mov edi, eax
jmp 0x4198cf
xor edi, edi
push 0x10
call fcn.00424b1e
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, esi
mov byte [esp + 0x58], 1
je 0x4198ef
mov ecx, eax
call fcn.00427cd5
mov esi, eax
test ebx, ebx
mov byte [esp + 0x58], 0
jne 0x4198fc
xor eax, eax
jmp 0x4198ff
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0042828a
call fcn.0042fc51
mov eax, dword [eax + 0xc]
push 0xc4
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00428551
test edi, edi
jne 0x419932
xor eax, eax
jmp 0x419935
mov eax, dword [edi + 4]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.0042861f
mov edx, dword [edi + 4]
lea ecx, [esp + 0x34]
push ecx
push 0x18
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x38]
mov edx, dword [ebx + 4]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41998c
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0042861f
mov ecx, edi
call fcn.004285a4
call fcn.0042fc51
mov eax, dword [eax + 0xc]
push 0x90
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00428551
mov eax, dword [edi + 4]
mov edx, dword [esi + 4]
push eax
push edx
call fcn.0042861f
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x34]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x74]
sub eax, 0xa
cmp dword [esp + 0x10], eax
jg 0x419a2d
mov ecx, dword [esp + 0x38]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x3c]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esp + 0x20]
push edx
push ecx
mov ecx, dword [ebx + 4]
push 0
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov edx, dword [edx + 0x74]
add eax, ecx
sub edx, 0xa
cmp eax, edx
mov dword [esp + 0x10], eax
jle 0x4199ee
mov eax, dword [esp + 0x18]
test eax, eax
je 0x419a38
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.0042861f
mov ecx, edi
call fcn.004285a4
call fcn.0042fc51
mov eax, dword [eax + 0xc]
push 0x93
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00428551
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0042861f
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 4]
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
sub eax, dword [esp + 0x24]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x4c]
push edx
push ecx
sub eax, ecx
push 0
push eax
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x419ac0
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0042861f
mov ecx, edi
call fcn.004285a4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x74]
sub esp, 0x10
cmp ecx, 1
jne 0x419b16
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 0x78]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x7c]
mov eax, dword [eax + 0x80]
push ecx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x46ee7c
call fcn.0040aee0
push 0xfd
jmp 0x419b56
cmp ecx, 2
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 0x78]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x7c]
mov eax, dword [eax + 0x80]
push ecx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov dword [esp + 0x2c], esp
mov ecx, esp
push 0x46ee7c
jne 0x419b4c
call fcn.0040aee0
push 0x100
jmp 0x419b56
call fcn.0040aee0
push 0xfa
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041a060
call fcn.0042fc51
mov eax, dword [eax + 0xc]
push 0x94
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00428551
mov eax, dword [edi + 4]
lea edx, [esp + 0x34]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0042861f
mov ecx, dword [esp + 0x30]
mov edx, ecx
sub edx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
sub edx, eax
cmp edx, 0x1b
mov dword [esp + 0x10], 0x1b
jl 0x419c00
mov ecx, dword [esi + 4]
mov edx, dword [ebx + 4]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
lea edx, [ecx + eax - 3]
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
sub ecx, eax
cmp edx, ecx
jle 0x419bba
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 4]
sub ecx, dword [esp + 0x28]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x48]
push eax
push edx
sub ecx, eax
mov eax, dword [ebx + 4]
push ecx
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x419c31
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0042861f
mov ecx, edi
call fcn.004285a4
call fcn.0042fc51
mov eax, dword [eax + 0xc]
push 0x97
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00428551
mov eax, dword [edi + 4]
lea edx, [esp + 0x34]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0042861f
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov edx, eax
sub edx, dword [esp + 0x28]
mov dword [esp + 0x10], 0x1b
sub edx, ecx
cmp edx, 0x1b
jl 0x419cee
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push 0xcc0020
sub eax, dword [esp + 0x3c]
push 0
push 0
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
push edx
push eax
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
lea eax, [edx + ecx - 3]
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
sub edx, ecx
cmp eax, edx
jle 0x419c9d
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov edx, dword [esi + 4]
push 0xcc0020
push 0
sub eax, ecx
push 0
push edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
sub eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
push edx
push eax
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x419d32
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0042861f
mov ecx, edi
call fcn.004285a4
call fcn.0042fc51
mov eax, dword [eax + 0xc]
push 0x95
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00428551
mov eax, dword [edi + 4]
lea edx, [esp + 0x34]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0042861f
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
sub edx, ecx
sub edx, 3
cmp edx, 3
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 3
jl 0x419dea
nop
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
push 0xcc0020
sub eax, dword [esp + 0x40]
push 0
push 0
push edx
mov edx, dword [esp + 0x4c]
push edx
push ecx
mov ecx, dword [ebx + 4]
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
add dword [esp + 0x10], ecx
sub edx, ecx
sub edx, 3
cmp dword [esp + 0x10], edx
jle 0x419da0
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov edx, dword [esi + 4]
sub eax, dword [esp + 0x3c]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
push edx
mov edx, dword [ebx + 4]
push ecx
sub eax, ecx
mov ecx, dword [esp + 0x28]
push ecx
sub eax, 3
push eax
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x419e35
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.0042861f
mov ecx, edi
call fcn.004285a4
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CGdiObject.0
call fcn.004285a4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4