Function at 0x461e10
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb0
mov ebx, eax
mov eax, ebx
call fcn.004619a0
test al, al
jne 0x462120
mov byte [esp + 0x20], 0
mov eax, ebx
call dword [ebx + 0x34]
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x56], eax
xor eax, eax
mov dword [ebx + 0x5a], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x10], eax
mov ebp, dword [ebx + 0x18]
cmp dword [ebx + 0x41], 0
je 0x461e67
mov ecx, dword [ebx + 0x3d]
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 8]
cdq
xor eax, edx
sub eax, edx
mov ebp, eax
jmp 0x461e8b
mov esi, dword [ebx + 0x20]
test esi, esi
je 0x461e8b
lea eax, [esp + 0x28]
push eax
push 0x18
push esi
call sub.gdi32.dll_GetObjectA_1
test eax, eax
je 0x461e8b
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x30]
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov esi, eax
cmp byte [ebx + 0x3c], 1
jne 0x461f96
push 0
call sub.user32.dll_GetDC
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
push eax
mov eax, dword [ebx + 0x1c]
push eax
mov eax, dword [esp + 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov edi, eax
test edi, edi
jne 0x461ed5
mov ecx, 0xb9aa
mov edx, 0x462130
mov eax, 0x462154
call fcn.00403f64
mov eax, dword [esp + 4]
push eax
push 0
call sub.user32.dll_ReleaseDC
push edi
push esi
call sub.gdi32.dll_SelectObject
mov dword [esp], eax
cmp dword [esp], 0
jne 0x461f05
mov ecx, 0xb9ae
mov edx, 0x462130
mov eax, 0x462170
call fcn.00403f64
mov eax, dword [ebx + 0x2c]
call fcn.0045b7bc
push eax
call sub.gdi32.dll_CreateSolidBrush
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [ebx + 0x18]
push eax
mov eax, dword [ebx + 0x1c]
push eax
push 0
push 0
lea eax, [esp + 0x54]
push eax
call fcn.0045af50
lea eax, [esp + 0x44]
push eax
push esi
call sub.user32.dll_FillRect
mov eax, dword [esp + 0x18]
push eax
call sub.gdi32.dll_DeleteObject
cmp dword [ebx + 0x41], 0
je 0x461f70
mov eax, dword [esp]
push eax
push esi
call sub.gdi32.dll_SelectObject
push 0
mov eax, dword [ebx + 0x3d]
push eax
mov eax, dword [ebx + 0x41]
push eax
mov eax, dword [ebx + 0x18]
push eax
push 0
push edi
push esi
call sub.gdi32.dll_SetDIBits
jmp 0x461f87
push 0
mov eax, ebx
xor ecx, ecx
mov edx, esi
call fcn.004617b4
mov eax, dword [esp]
push eax
push esi
call sub.gdi32.dll_SelectObject
mov eax, ebx
call fcn.00461714
mov dword [ebx + 0x20], edi
jmp 0x462108
xor eax, eax
mov al, byte [ebx + 0x49]
movzx eax, byte [eax + 0x471740]
test eax, eax
jne 0x461fb4
xor eax, eax
mov al, byte [0x4714a4]
movzx eax, byte [eax + 0x471740]
xor edi, edi
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
xchg ecx, eax
call fcn.0046152c
mov dword [esp + 8], eax
cmp byte [ebx + 0x49], 5
jne 0x461fd5
mov eax, dword [esp + 8]
call fcn.004616f8
mov eax, dword [esp + 8]
call fcn.00461dfc
imul dword [ebx + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
push eax
push 0
call sub.kernel32.dll_GlobalAlloc
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
jne 0x462010
mov ecx, 0xb9d3
mov edx, 0x462130
mov eax, 0x462194
call fcn.00403f64
mov eax, ebx
call fcn.00461a28
mov dword [esp + 0x24], eax
cmp dword [esp + 0x24], 0
je 0x462120
push 0
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0x18]
mov edx, ebp
call fcn.0045afe4
push eax
push 0
mov eax, dword [esp + 0x38]
push eax
push esi
call sub.gdi32.dll_GetDIBits
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x18]
mov edx, ebp
call fcn.0045afe4
cmp eax, dword [esp + 0x1c]
je 0x4620e2
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_GlobalFree
xor eax, eax
mov dword [esp + 0xc], eax
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x18]
push eax
push esi
call sub.gdi32.dll_CreateDIBSection
mov edi, eax
mov byte [esp + 0x20], 1
test edi, edi
jne 0x4620a7
mov ecx, 0xb9e0
mov edx, 0x462130
mov eax, 0x4621a8
call fcn.00403f64
push edi
push esi
call sub.gdi32.dll_SelectObject
mov dword [esp], eax
cmp dword [esp], 0
jne 0x4620cb
mov ecx, 0xb9e2
mov edx, 0x462130
mov eax, 0x4621e0
call fcn.00403f64
push 0
mov eax, ebx
xor ecx, ecx
mov edx, esi
call fcn.004617b4
mov eax, dword [esp]
push eax
push esi
call sub.gdi32.dll_SelectObject
mov eax, ebx
call fcn.00461714
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x45], eax
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x41], eax
mov eax, dword [esp + 8]
mov dword [ebx + 0x3d], eax
mov dword [ebx + 0x20], edi
mov al, byte [esp + 0x20]
mov byte [ebx + 0x72], al
cmp dword [ebx + 0x4a], 0
je 0x46211a
push ebp
mov eax, ebx
mov ecx, dword [esp + 0x14]
mov edx, esi
call dword [ebx + 0x4a]
push esi
call sub.gdi32.dll_DeleteDC
add esp, 0x50
pop ebp
pop edi
pop esi
pop ebx
ret