Function at 0x45c1e0
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x4ba638
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 0x45c214
lea edi, [esi - 0x20]
jmp 0x45c216
xor edi, edi
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x45c41c
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45c41c
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.0045bd60
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.0045bdc0
cmp dword [esi + 0xac], ebx
je 0x45c318
mov eax, 0x14
cmp dword [esi + 0xc8], eax
jne 0x45c2f8
push 2
push ebx
lea ecx, [esp + 0x1c]
push ecx
jmp 0x45c311
cmp dword [esi + 0xc4], eax
jne 0x45c30a
push 1
push ebx
lea edx, [esp + 0x1c]
push edx
jmp 0x45c311
push ebx
push ebx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0045c130
cmp dword [esi + 0xb8], ebx
je 0x45c394
cmp dword [esi + 0xbc], ebx
mov eax, 9
je 0x45c35f
cmp dword [esi + 0xc8], eax
jne 0x45c340
push 2
push 3
lea ecx, [esp + 0x1c]
push ecx
jmp 0x45c38d
cmp dword [esi + 0xc4], eax
mov ecx, esi
jne 0x45c355
push 1
push 3
lea edx, [esp + 0x1c]
push edx
jmp 0x45c38f
push ebx
push 3
lea eax, [esp + 0x1c]
push eax
jmp 0x45c38f
cmp dword [esi + 0xc8], eax
jne 0x45c372
push 2
push 1
lea ecx, [esp + 0x1c]
push ecx
jmp 0x45c38d
cmp dword [esi + 0xc4], eax
jne 0x45c385
push 1
push 1
lea edx, [esp + 0x1c]
push edx
jmp 0x45c38d
push ebx
push 1
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0045c130
cmp dword [esi + 0xb4], ebx
je 0x45c3d6
mov eax, 8
cmp dword [esi + 0xc8], eax
jne 0x45c3b4
push 2
push 2
lea ecx, [esp + 0x1c]
push ecx
jmp 0x45c3cf
cmp dword [esi + 0xc4], eax
jne 0x45c3c7
push 1
push 2
lea edx, [esp + 0x1c]
push edx
jmp 0x45c3cf
push ebx
push 2
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0045c130
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 0x45c405
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, ebx
je 0x45c410
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