Function at 0x41a890
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x44de38
push 0x4371c0
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x451050]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xcc], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_LockWindowUpdate]
push 0x4c
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
call esi
mov dword [0x45a0d8], eax
push 0x4e
call esi
add eax, dword [0x45a0d8]
mov dword [0x45a0e0], eax
push 0x4d
call esi
mov dword [0x45a0dc], eax
push 0x4f
call esi
add eax, dword [0x45a0dc]
mov dword [0x45a0e4], eax
xor ebx, ebx
mov dword [0x45a0e8], ebx
push ebx
call esi
mov dword [0x45a0f0], eax
mov dword [0x45a0ec], ebx
push 1
call esi
mov dword [0x45a0f4], eax
call fcn.0041c110
mov dword [0x45a370], eax
xor eax, eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xf8], 0x14
lea ecx, [ebp - 0xf8]
push ecx
call dword [sym.imp.USER32.dll_GetCursorInfo]
call fcn.0041b4c0
push ebx
push 0x4189f0
push ebx
call dword [sym.imp.USER32.dll_EnumDesktopWindows]
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xdc], ebx
xor eax, eax
mov edi, eax
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
wait
mov dword [ebp - 4], eax
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0xb0], eax
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0xac], eax
test eax, eax
je 0x41ac53
mov edx, dword [0x45a0e4]
sub edx, dword [0x45a0dc]
push edx
mov eax, dword [0x45a0e0]
sub eax, dword [0x45a0d8]
push eax
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x41ac53
mov edx, eax
push edx
mov eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x41ac53
push 0x40cc0020
mov eax, dword [0x45a0dc]
push eax
mov ecx, dword [0x45a0d8]
push ecx
mov edx, dword [ebp - 0xb0]
push edx
mov edx, dword [0x45a0e4]
sub edx, eax
push edx
mov eax, dword [0x45a0e0]
sub eax, ecx
push eax
push edi
push edi
mov ecx, dword [ebp - 0xac]
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x41ac53
test dword [0x452498], 0x80000
je 0x41ac49
cmp dword [ebp - 0xf4], 1
jne 0x41ac49
mov ecx, dword [ebp - 0xf0]
test ecx, ecx
je 0x41ac49
xor eax, eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], eax
lea edx, [ebp - 0x110]
push edx
push ecx
call dword [sym.imp.USER32.dll_GetIconInfo]
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x41aaed
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x104]
test eax, eax
je 0x41aafe
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [ebp - 0xec]
sub ebx, dword [0x45a0d8]
sub ebx, dword [ebp - 0x10c]
mov dword [ebp - 0xdc], ebx
push 0xd
call esi
add eax, ebx
mov dword [ebp - 0xd4], eax
mov edi, dword [ebp - 0xe8]
sub edi, dword [ebp - 0x108]
sub edi, dword [0x45a0dc]
mov dword [ebp - 0xd8], edi
push 0xe
call esi
add eax, edi
mov dword [ebp - 0xd0], eax
xor eax, eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xb8], eax
wait
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x41ac1d
mov esi, dword [ebp - 0xd0]
sub esi, edi
mov eax, dword [ebp - 0xd4]
sub eax, ebx
mov dword [ebp - 0xb4], eax
push esi
push eax
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x41ac1d
push eax
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x41ac1d
push 0xcc0020
push edi
push ebx
mov eax, dword [ebp - 0xac]
push eax
push esi
mov ecx, dword [ebp - 0xb4]
push ecx
push 0
push 0
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x41ac1d
push 0xb
push 0
push 0
push esi
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xf0]
push ecx
push edi
push ebx
mov edx, dword [ebp - 0xac]
push edx
call dword [sym.imp.USER32.dll_DrawIconEx]
mov dword [ebp - 0xc4], 1
wait
mov dword [ebp - 4], 0
call fcn.0041aca1
cmp dword [ebp - 0xc4], 0
jne 0x41ac49
cmp dword [ebp - 0xc8], 0
je 0x41ac49
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 0xc4], 1
wait
mov dword [ebp - 4], 0xfffffffe
call fcn.0041acd1
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0xc4], esi
jne 0x41ad13
cmp eax, esi
je 0x41ac7d
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0xc8]
cmp eax, esi
je 0x41ac8e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
jmp 0x41b329
mov dword [0x45a0a4], eax
push esi
call dword [sym.imp.USER32.dll_LockWindowUpdate]
push esi
push 0x419f60
push esi
push 0xa2
mov ecx, dword [0x459f78]
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov dword [ebp - 0xc4], eax
cmp eax, esi
je 0x41b2e8
cmp dword [ebp - 0xcc], esi
je 0x41b2e8
cmp dword [ebp - 0xc8], esi
je 0x41ae41
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], esi
wait
mov dword [ebp - 4], 2
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0xb0], eax
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xb0]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xac], esi
je 0x41ae27
cmp eax, esi
je 0x41ae27
mov eax, dword [0x45a0a4]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xb8], eax
cmp eax, esi
je 0x41ae27
mov edx, dword [ebp - 0xc8]
push edx
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xbc], eax
cmp eax, esi
je 0x41ae27
push 0xcc0020
push esi
push esi
mov ecx, dword [ebp - 0xa8]
push ecx
mov eax, dword [ebp - 0xd0]
sub eax, edi
push eax
mov eax, dword [ebp - 0xd4]
sub eax, ebx
push eax
push edi
push ebx
mov edx, dword [ebp - 0xac]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
wait
mov dword [ebp - 4], 0xfffffffe
call fcn.0041b14d
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0x118], esi
mov dword [ebp - 0xb4], esi
mov ebx, dword [0x45a0c8]
mov eax, ebx
sub eax, dword [0x45a0d8]
mov dword [ebp - 0xfc], eax
mov ecx, dword [0x45a0cc]
mov edx, ecx
sub edx, dword [0x45a0dc]
mov dword [ebp - 0x114], edx
mov edi, dword [0x45a0d0]
sub edi, ebx
mov ebx, dword [0x45a0d4]
sub ebx, ecx
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x104], edi
mov dword [ebp - 0x100], ebx
mov ecx, dword [0x45a0c4]
cmp ecx, esi
je 0x41af36
neg eax
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fstp dword [ebp - 0xd4]
neg edx
mov dword [ebp - 0xb4], edx
fild dword [ebp - 0xb4]
fstp dword [ebp - 0xd0]
fld1
fst dword [ebp - 0xd8]
fstp dword [ebp - 0xe4]
fldz
fst dword [ebp - 0xdc]
fstp dword [ebp - 0xe0]
lea edx, [ebp - 0xe4]
push edx
call fcn.0042c3e0
add esp, 4
mov dword [ebp - 0xb4], eax
mov eax, dword [0x45a0c4]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [0x45a0c4], esi
mov dword [ebp - 0xc4], esi
wait
mov dword [ebp - 4], 3
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [ebp - 0xb0], esi
push ebx
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0xc0], eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov dword [ebp - 0xac], esi
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xc0], 0
je 0x41b063
test esi, esi
je 0x41b063
test eax, eax
je 0x41b063
mov edx, dword [ebp - 0xc0]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x41b063
mov eax, dword [0x45a0a4]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x41b063
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x11c], eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push esi
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0xb4], 0
je 0x41b02e
mov eax, dword [ebp - 0xb4]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x118], eax
push 0xcc0020
mov ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0xfc]
push edx
mov eax, dword [ebp - 0xa8]
push eax
push ebx
push edi
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x41b063
mov dword [ebp - 0xc4], 1
wait
mov dword [ebp - 4], 0xfffffffe
call fcn.0041b1cc
cmp dword [ebp - 0xc4], 0
je 0x41b2bc
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xb4]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0xc0]
mov dword [eax], edx
test dword [0x452498], 0x80000
je 0x41b0ed
cmp dword [ebp - 0xf4], 1
jne 0x41b0ed
mov eax, dword [ebp - 0xf0]
test eax, eax
je 0x41b0ed
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov ecx, dword [ebp - 0xcc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0xec]
sub eax, dword [ebp - 0xfc]
sub eax, dword [0x45a0d8]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0xe8]
sub edx, dword [ebp - 0x114]
sub edx, dword [0x45a0dc]
mov dword [ecx + 0x14], edx
cmp dword [0x45a108], 0
je 0x41b25a
mov esi, dword [0x452488]
test esi, esi
jl 0x41b25a
call fcn.0041b3c0
cmp esi, eax
jge 0x41b25a
call fcn.0041b3e0
push 0xffffffffffffffff
push 0
mov edi, dword [ebp - 0xcc]
lea ecx, [edi + 0x18]
call fcn.004038b0
mov esi, dword [0x452488]
call fcn.0041b3e0
add eax, 0x1c
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x34]
call fcn.004038b0
jmp 0x41b2e8
mov eax, dword [0x45a0a8]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41b2e8
push 0x40
lea ecx, [ebp - 0xa4]
push ecx
mov edx, dword [0x45a0a8]
push edx
call dword [sym.imp.USER32.dll_InternalGetWindowText]
mov esi, dword [ebp - 0xcc]
lea eax, [esi + 0x18]
push eax
lea eax, [ebp - 0xa4]
call fcn.004034d0
push 0x40
lea ecx, [ebp - 0xa4]
push ecx
mov edx, dword [0x45a0a8]
push edx
call dword [sym.imp.USER32.dll_GetClassNameW]
add esi, 0x34
push esi
lea eax, [ebp - 0xa4]
call fcn.004034d0
jmp 0x41b2e8
cmp dword [ebp - 0xb4], 0
je 0x41b2d2
mov eax, dword [ebp - 0xb4]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0xc0], 0
je 0x41b2e8
mov ecx, dword [ebp - 0xc0]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0xc8]
xor edi, edi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, edi
je 0x41b2fd
push eax
call esi
mov edx, dword [0x45a0a4]
push edx
call esi
mov dword [0x45a0a4], edi
mov eax, dword [0x45a0c4]
cmp eax, edi
je 0x41b31e
push eax
call esi
mov dword [0x45a0c4], edi
call fcn.0041b4c0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00433c32
mov esp, ebp
pop ebp
ret