Function at 0x413160
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x4b55a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de57c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp esi, ebx
je 0x413194
lea edi, [esi - 0x48]
jmp 0x413196
xor edi, edi
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x41339c
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41339c
mov eax, dword [edi + 4]
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 4]
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push edx
push eax
push ebx
push ebx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.00412c30
mov ebp, dword [esp + 0x1c]
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
push eax
push ecx
push ebp
mov byte [esp + 0x48], 2
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, eax
push ebp
push edi
mov dword [esp + 0x20], ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x24]
lea eax, [esp + 0x14]
push edx
push ebx
push ebx
push eax
mov ecx, esi
call fcn.00412c90
cmp dword [esi + 0xac], ebx
je 0x413298
mov eax, 0x14
cmp dword [esi + 0xc8], eax
jne 0x413278
push 2
push ebx
lea ecx, [esp + 0x1c]
push ecx
jmp 0x413291
cmp dword [esi + 0xc4], eax
jne 0x41328a
push 1
push ebx
lea edx, [esp + 0x1c]
push edx
jmp 0x413291
push ebx
push ebx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00413000
cmp dword [esi + 0xb8], ebx
je 0x413314
cmp dword [esi + 0xbc], ebx
mov eax, 9
je 0x4132df
cmp dword [esi + 0xc8], eax
jne 0x4132c0
push 2
push 3
lea ecx, [esp + 0x1c]
push ecx
jmp 0x41330d
cmp dword [esi + 0xc4], eax
mov ecx, esi
jne 0x4132d5
push 1
push 3
lea edx, [esp + 0x1c]
push edx
jmp 0x41330f
push ebx
push 3
lea eax, [esp + 0x1c]
push eax
jmp 0x41330f
cmp dword [esi + 0xc8], eax
jne 0x4132f2
push 2
push 1
lea ecx, [esp + 0x1c]
push ecx
jmp 0x41330d
cmp dword [esi + 0xc4], eax
jne 0x413305
push 1
push 1
lea edx, [esp + 0x1c]
push edx
jmp 0x41330d
push ebx
push 1
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00413000
cmp dword [esi + 0xb4], ebx
je 0x413356
mov eax, 8
cmp dword [esi + 0xc8], eax
jne 0x413334
push 2
push 2
lea ecx, [esp + 0x1c]
push ecx
jmp 0x41334f
cmp dword [esi + 0xc4], eax
jne 0x413347
push 1
push 2
lea edx, [esp + 0x1c]
push edx
jmp 0x41334f
push ebx
push 2
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00413000
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
push 0xcc0020
push ebx
push ebx
push esi
push 0x1a
push ecx
push ebx
push ebx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
cmp ebp, ebx
je 0x413385
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, ebx
je 0x413390
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x20]
push edi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4