Function at 0x46bd80
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x4b2818
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d0968]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp esi, ebx
je 0x46bdb4
lea edi, [esi - 0x24]
jmp 0x46bdb6
xor edi, edi
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x46bff6
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46bff6
mov eax, dword [edi + 4]
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebp, eax
mov dword [esp + 0x20], ebp
mov ecx, dword [edi + 4]
lea eax, [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
push edx
push eax
push ebx
push ebx
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.0046b520
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
push eax
push ecx
push ebp
mov byte [esp + 0x4c], 2
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x28]
lea eax, [esp + 0x14]
push edx
push ebx
push ebx
push eax
mov ecx, esi
call fcn.0046b580
mov eax, 0x14
cmp dword [esi + 0x110], eax
jne 0x46be90
push 2
push ebx
lea ecx, [esp + 0x1c]
push ecx
jmp 0x46bea9
cmp dword [esi + 0x10c], eax
jne 0x46bea2
push 1
push ebx
lea edx, [esp + 0x1c]
push edx
jmp 0x46bea9
push ebx
push ebx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0046b800
cmp dword [esi + 0xf4], ebx
je 0x46bf2c
cmp dword [esi + 0x100], ebx
mov eax, 9
je 0x46bef7
cmp dword [esi + 0x110], eax
jne 0x46bed8
push 2
push 3
lea ecx, [esp + 0x1c]
push ecx
jmp 0x46bf25
cmp dword [esi + 0x10c], eax
mov ecx, esi
jne 0x46beed
push 1
push 3
lea edx, [esp + 0x1c]
push edx
jmp 0x46bf27
push ebx
push 3
lea eax, [esp + 0x1c]
push eax
jmp 0x46bf27
cmp dword [esi + 0x110], eax
jne 0x46bf0a
push 2
push 1
lea ecx, [esp + 0x1c]
push ecx
jmp 0x46bf25
cmp dword [esi + 0x10c], eax
jne 0x46bf1d
push 1
push 1
lea edx, [esp + 0x1c]
push edx
jmp 0x46bf25
push ebx
push 1
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0046b800
cmp dword [esi + 0xf0], ebx
je 0x46bf6e
mov eax, 8
cmp dword [esi + 0x110], eax
jne 0x46bf4c
push 2
push 2
lea ecx, [esp + 0x1c]
push ecx
jmp 0x46bf67
cmp dword [esi + 0x10c], eax
jne 0x46bf5f
push 1
push 2
lea edx, [esp + 0x1c]
push edx
jmp 0x46bf67
push ebx
push 2
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0046b800
cmp dword [esi + 0xf8], ebx
je 0x46bfb0
mov eax, 0x960
cmp dword [esi + 0x110], eax
jne 0x46bf8e
push 2
push 7
lea ecx, [esp + 0x1c]
push ecx
jmp 0x46bfa9
cmp dword [esi + 0x10c], eax
jne 0x46bfa1
push 1
push 7
lea edx, [esp + 0x1c]
push edx
jmp 0x46bfa9
push ebx
push 7
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0046b800
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
push 0xcc0020
push ebx
push ebx
push esi
push 0x1a
push ecx
push ebx
push ebx
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x46bfdf
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, ebx
je 0x46bfea
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x1c]
push ebp
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4