Function at 0x41f050
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46ed42
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
mov eax, dword [0x48e820]
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 0x41f6b6
push 0xff6400
lea ecx, [esp + 0x20]
call fcn.00433b76
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
mov dword [esp + 0x5c], 0
call fcn.00433a93
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.0042fede
xor esi, esi
add esp, 4
cmp eax, esi
je 0x41f0fd
mov dword [eax + 4], esi
mov dword [eax], vtable.CBitmap.0
mov edi, eax
jmp 0x41f0ff
xor edi, edi
push 0x10
call fcn.0042fede
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, esi
mov byte [esp + 0x58], 1
je 0x41f11f
mov ecx, eax
call fcn.004330f6
mov esi, eax
test ebx, ebx
mov byte [esp + 0x58], 0
jne 0x41f12c
xor eax, eax
jmp 0x41f12f
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.004336ab
call fcn.0043a4fb
mov eax, dword [eax + 0xc]
push 0xc4
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00433972
test edi, edi
jne 0x41f162
xor eax, eax
jmp 0x41f165
mov eax, dword [edi + 4]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.00433a40
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 0x41f1bc
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00433a40
mov ecx, edi
call fcn.004339c5
call fcn.0043a4fb
mov eax, dword [eax + 0xc]
push 0x90
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00433972
mov eax, dword [edi + 4]
mov edx, dword [esi + 4]
push eax
push edx
call fcn.00433a40
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 0x41f25d
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 0x41f21e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41f268
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.00433a40
mov ecx, edi
call fcn.004339c5
call fcn.0043a4fb
mov eax, dword [eax + 0xc]
push 0x93
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00433972
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00433a40
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 0x41f2f0
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00433a40
mov ecx, edi
call fcn.004339c5
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x74]
sub esp, 0x10
cmp ecx, 1
jne 0x41f346
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 0x47b3d4
call fcn.00410560
push 0xfd
jmp 0x41f386
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 0x47b3d4
jne 0x41f37c
call fcn.00410560
push pe_nt_image_headers32
jmp 0x41f386
call fcn.00410560
push 0xfa
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041f890
call fcn.0043a4fb
mov eax, dword [eax + 0xc]
push 0x94
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00433972
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.00433a40
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 0x41f430
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 0x41f3ea
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 0x41f461
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00433a40
mov ecx, edi
call fcn.004339c5
call fcn.0043a4fb
mov eax, dword [eax + 0xc]
push 0x97
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00433972
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.00433a40
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 0x41f51e
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 0x41f4cd
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 0x41f562
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00433a40
mov ecx, edi
call fcn.004339c5
call fcn.0043a4fb
mov eax, dword [eax + 0xc]
push 0x95
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00433972
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.00433a40
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 0x41f61a
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 0x41f5d0
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 0x41f665
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.00433a40
mov ecx, edi
call fcn.004339c5
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.004339c5
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4