Function at 0x4a06a0
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x572ae0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call fcn.00513637
mov ebx, eax
mov ecx, dword [ebx + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
call fcn.00517e47
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x4a09b8
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
sub edx, dword [esp + 0x34]
push 0
push 0
push ecx
push edx
push 0
push 0
push edi
mov ecx, esi
call fcn.0049fb00
push 0
mov ecx, edi
call fcn.00517b1e
lea ecx, [esp + 0x24]
call fcn.00517947
lea ecx, [esp + 0x1c]
mov dword [esp + 0x5c], 0
call fcn.004a3380
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
push eax
mov eax, dword [edi + 4]
push ecx
push eax
mov byte [esp + 0x68], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x20]
call fcn.0051811c
mov edi, dword [edi + 4]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x28]
call fcn.00517e55
test eax, eax
je 0x4a0999
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a0999
mov ecx, dword [esp + 0x20]
push ecx
push eax
call fcn.005181a1
mov edx, dword [esp + 0x3c]
sub edx, dword [esi + 0x10c]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x108]
sub edx, eax
sub edx, dword [esp + 0x34]
push 0
add edx, 1
push edx
push 0
push eax
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.0049f480
mov eax, 0x14
cmp dword [esi + 0x58], eax
jne 0x4a07e8
push 1
push 0
lea ecx, [esp + 0x2c]
push ecx
jmp 0x4a0801
cmp dword [esi + 0x54], eax
jne 0x4a07f8
push 2
push 0
lea edx, [esp + 0x2c]
push edx
jmp 0x4a0801
push 0
push 0
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.004a00e0
mov eax, 8
cmp dword [esi + 0x58], eax
jne 0x4a081d
push 1
push 2
lea ecx, [esp + 0x2c]
push ecx
jmp 0x4a0836
cmp dword [esi + 0x54], eax
jne 0x4a082d
push 2
push 2
lea edx, [esp + 0x2c]
push edx
jmp 0x4a0836
push 0
push 2
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.004a00e0
mov eax, 9
cmp dword [esi + 0x58], eax
jne 0x4a0852
push 1
push 1
lea ecx, [esp + 0x2c]
push ecx
jmp 0x4a086b
cmp dword [esi + 0x54], eax
jne 0x4a0862
push 2
push 1
lea edx, [esp + 0x2c]
push edx
jmp 0x4a086b
push 0
push 1
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.004a00e0
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call edi
push 0x32
call edi
mov ecx, dword [esi + 0x18]
cmp dword [ecx - 0xc], 0
lea eax, [esi + 0x18]
jne 0x4a0894
push eax
mov ecx, ebx
call fcn.00514835
cmp dword [esi + 0x148], 0
lea ecx, [esp + 0x24]
je 0x4a08b3
mov edx, dword [esi + 0x11c]
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [eax + 0x30]
call edx
jmp 0x4a08c3
mov eax, dword [esi + 0x120]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [edx + 0x30]
call eax
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x28]
lea ecx, [esi + 0x14c]
push ecx
lea ecx, [esp + 0x28]
call eax
push 1
lea ecx, [esp + 0x28]
mov ebp, eax
call fcn.005176e0
mov edi, dword [esp + 0x3c]
sub edi, dword [esp + 0x34]
mov ebx, dword [esi + 0x104]
lea ecx, [esi + 0x20]
call fcn.004941c0
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x114]
add ecx, edi
sub ecx, eax
mov eax, dword [esi + 0x118]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x18]
push 0x40024
mov dword [esp + 0x50], ecx
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x58], ebx
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0x68]
lea ecx, [esp + 0x34]
call edx
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x28]
push ebp
lea ecx, [esp + 0x28]
call edx
mov ecx, dword [esp + 0x28]
mov esi, dword [esi + 0x104]
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
push 0xcc0020
push 0
push 0
push ecx
push esi
mov esi, dword [esp + 0x28]
mov edx, dword [esi + 4]
push eax
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a0985
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.005181a1
push 0
mov ecx, esi
call fcn.00517b1e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 0
call fcn.004a33a0
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00517ecf
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 4