Function at 0x46b578
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x4ea00c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x28], ebx
cmp dword [ebx + 0x198], 2
jne 0x46b81c
mov eax, dword [ebx + 0xc0]
lea esi, [ebx + 0x1c]
mov dword [esp + 0xc], eax
lea edi, [esp + 0x5c]
mov eax, dword [ebx + 0xc4]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x208]
movsd dword es:[edi], dword [esi]
neg eax
push eax
mov eax, dword [ebx + 0x204]
neg eax
movsd dword es:[edi], dword [esi]
push eax
lea eax, [esp + 0x64]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebx + 0x1c0]
test ecx, ecx
je 0x46b5f3
cmp dword [ecx + 0xc], 0
jle 0x46b5f3
call fcn.0045dfae
mov ecx, ebx
call fcn.0046c8f7
mov ecx, ebx
call fcn.00468889
cmp dword [ebp + 8], 0
je 0x46b6a6
mov eax, dword [ebx + 0x1d0]
mov ecx, dword [ebx + 0x20]
cmp eax, ecx
jle 0x46b639
mov ecx, dword [ebx + 0x1c8]
cmp ecx, dword [ebx + 0x28]
jge 0x46b636
cmp dword [ebx + 0x1b4], 0
je 0x46b632
mov dword [esp + 0x60], eax
jmp 0x46b636
mov dword [esp + 0x68], ecx
mov ecx, dword [ebx + 0x20]
cmp dword [ebx + 0x1b8], 0
je 0x46b6a6
mov eax, dword [ebx + 0x1a0]
test eax, eax
je 0x46b6a6
lea esi, [eax + 8]
lea edi, [esp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x14]
cmp dword [ebx + 0x1b4], 0
je 0x46b677
lea eax, [ecx + 0xa]
mov dword [esp + 0x14], eax
add eax, edx
mov dword [esp + 0x60], eax
jmp 0x46b68a
mov ecx, dword [ebx + 0x28]
sub ecx, edx
add ecx, 0xfffffff6
mov dword [esp + 0x14], ecx
mov dword [esp + 0x68], ecx
lea eax, [ecx + edx]
mov ecx, dword [ebx + 0x1a0]
lea esi, [esp + 0x10]
sub esp, 0x10
mov dword [esp + 0x2c], eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0048c2bd
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
mov dword [esp + 0x28], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x20]
mov esi, eax
push dword [esp + 0x10]
mov dword [esp + 0x34], esi
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, eax
push edi
push esi
mov dword [esp + 0x38], edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push dword [ebx + 0x208]
push dword [ebx + 0x204]
mov ebx, dword [esp + 0x30]
push ebx
push dword [esp + 0x30]
push dword [esp + 0x20]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, edi
call fcn.0045e786
mov dword [esp + 0xc], eax
test eax, eax
je 0x46b7fd
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
sub eax, edx
mov esi, dword [esp + 0x64]
sub eax, 2
push 0x26200a
sub esi, ecx
lea edi, [edx + 1]
push eax
sub esi, 2
lea ebx, [ecx + 1]
push esi
push edi
push ebx
mov ebx, dword [esp + 0x20]
mov ecx, ebx
call fcn.0045e7c1
mov edi, eax
mov dword [esp + 0xc], edi
test edi, edi
je 0x46b7e9
mov ecx, edi
call fcn.00452d88
mov ecx, edi
mov esi, eax
call fcn.00452d63
and dword [esp + 0x10], 0
and dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
push ecx
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], esi
push eax
mov ecx, edi
call fcn.0045e83e
mov eax, dword [esp + 0x44]
lea esi, [esp + 0x34]
and dword [esp + 0x40], 0
sub esp, 0x10
mov dword [esp + 0x44], eax
mov edi, esp
mov eax, dword [esp + 0x58]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
movsd dword es:[edi], dword [esi]
add eax, 0x1a4
push eax
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0xc]
lea eax, [esp + 0x44]
push eax
push dword [ebx + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapUnlockBits]
test eax, eax
je 0x46b7df
mov dword [ebx + 8], eax
mov ecx, dword [esp + 0xc]
push 1
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
test edi, edi
je 0x46b808
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x46b813
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a439a
mov esp, ebp
pop ebp
ret 4