Function at 0x418f60
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4615d2
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
mov eax, dword [0x480810]
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 0x4195c6
push 0xff6400
lea ecx, [esp + 0x20]
call fcn.00428d1f
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
mov dword [esp + 0x5c], 0
call fcn.00428c3c
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.0042511e
xor esi, esi
add esp, 4
cmp eax, esi
je 0x41900d
mov dword [eax + 4], esi
mov dword [eax], vtable.CBitmap.0
mov edi, eax
jmp 0x41900f
xor edi, edi
push 0x10
call fcn.0042511e
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, esi
mov byte [esp + 0x58], 1
je 0x41902f
mov ecx, eax
call fcn.0042829f
mov esi, eax
test ebx, ebx
mov byte [esp + 0x58], 0
jne 0x41903c
xor eax, eax
jmp 0x41903f
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.00428854
call fcn.0042f6af
mov eax, dword [eax + 0xc]
push 0xc4
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00428b1b
test edi, edi
jne 0x419072
xor eax, eax
jmp 0x419075
mov eax, dword [edi + 4]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.00428be9
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 0x4190cc
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00428be9
mov ecx, edi
call fcn.00428b6e
call fcn.0042f6af
mov eax, dword [eax + 0xc]
push 0x90
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00428b1b
mov eax, dword [edi + 4]
mov edx, dword [esi + 4]
push eax
push edx
call fcn.00428be9
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 0x41916d
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 0x41912e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x419178
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.00428be9
mov ecx, edi
call fcn.00428b6e
call fcn.0042f6af
mov eax, dword [eax + 0xc]
push 0x93
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00428b1b
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00428be9
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 0x419200
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00428be9
mov ecx, edi
call fcn.00428b6e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x74]
sub esp, 0x10
cmp ecx, 1
jne 0x419256
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 0x46df44
call fcn.0040a820
push 0xfd
jmp 0x419296
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 0x46df44
jne 0x41928c
call fcn.0040a820
push pe_nt_image_headers32
jmp 0x419296
call fcn.0040a820
push 0xfa
mov ecx, dword [ebp + 8]
push ecx
call fcn.004197a0
call fcn.0042f6af
mov eax, dword [eax + 0xc]
push 0x94
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00428b1b
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.00428be9
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 0x419340
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 0x4192fa
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 0x419371
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00428be9
mov ecx, edi
call fcn.00428b6e
call fcn.0042f6af
mov eax, dword [eax + 0xc]
push 0x97
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00428b1b
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.00428be9
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 0x41942e
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 0x4193dd
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 0x419472
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00428be9
mov ecx, edi
call fcn.00428b6e
call fcn.0042f6af
mov eax, dword [eax + 0xc]
push 0x95
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00428b1b
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.00428be9
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 0x41952a
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 0x4194e0
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 0x419575
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.00428be9
mov ecx, edi
call fcn.00428b6e
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.00428b6e
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4