Function at 0x4867a0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x90
push ebx
push ebp
mov ebp, dword [esp + 0xa0]
push esi
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push edi
push 0x14
mov ebx, eax
call esi
push 5
mov edi, eax
call esi
cmp edi, 0xffffff
je 0x4867d3
cmp edi, eax
jne 0x4867d3
push 0xf
jmp 0x4867d5
push 0x14
call esi
push 0
mov dword [esp + 0x3c], eax
call esi
mov edi, dword [esp + 0xa4]
mov esi, dword [0x4c1a68]
mov edx, dword [0x4c1a64]
mov ecx, dword [0x4c1a60]
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0x344]
neg eax
sbb eax, eax
and eax, 0x4000
mov dword [esp + 0x24], esi
mov dword [esp + 0x8c], eax
mov eax, dword [0x4c1a5c]
mov dword [esp + 0x20], edx
add esi, 0x18
push esi
add edx, 0x30
push edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
add ecx, 0xffffffe8
push ecx
add eax, 0xffffffd0
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [edi + 0x340]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
jne 0x486865
mov eax, dword [edi + 0x24]
test eax, eax
jge 0x48687f
push 0x15
call esi
imul eax, dword [edi + 0x24]
neg eax
jmp 0x48687f
cmp eax, 1
jne 0x48687d
mov eax, dword [edi + 0x24]
test eax, eax
jge 0x48687f
push 0x14
call esi
imul eax, dword [edi + 0x24]
neg eax
jmp 0x48687f
xor eax, eax
mov edx, dword [esp + 0x18]
add edx, eax
mov eax, dword [edi + 0x340]
test eax, eax
mov dword [esp + 0x18], edx
jne 0x4868a6
mov eax, dword [edi + 0x24]
test eax, eax
jge 0x4868c0
push 0x15
call esi
imul eax, dword [edi + 0x24]
neg eax
jmp 0x4868c0
cmp eax, 1
jne 0x4868be
mov eax, dword [edi + 0x24]
test eax, eax
jge 0x4868c0
push 0x14
call esi
imul eax, dword [edi + 0x24]
neg eax
jmp 0x4868c0
xor eax, eax
mov ecx, dword [esp + 0xac]
mov esi, dword [esp + 0x20]
push ecx
push ebx
lea edx, [esp + 0x30]
sub esi, eax
push edx
mov dword [esp + 0x2c], esi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4868e9
mov eax, dword [0x4c1a70]
jmp 0x486913
mov esi, dword [0x4c1a6c]
mov eax, dword [esp + 0x18]
sub ebx, esi
mov ecx, ebx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jge 0x486905
mov dword [esp + 0x10], eax
mov ecx, eax
mov eax, dword [esp + 0x20]
sub eax, dword [0x4c1a44]
cmp ecx, eax
jle 0x486917
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x90]
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
push ebp
call dword [sym.imp.USER32.dll_GetWindowDC]
push 8
push eax
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.dll_SetLayout]
push 1
push edi
push 0
mov esi, ebp
call fcn.00484520
mov edx, dword [esp + 0xa0]
mov ebx, eax
mov eax, dword [esp + 0x9c]
add esp, 0xc
sub ebx, 4
neg ebx
sbb ebx, ebx
neg edx
push edx
neg eax
push eax
lea ecx, [esp + 0x20]
push ecx
inc ebx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sub eax, edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
sub eax, ecx
mov dword [esp + 0x80], eax
sub dword [esp + 0x10], edx
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
push ecx
mov esi, eax
mov eax, dword [esp + 0x40]
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [esp + 0x90], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x18]
push ecx
sub edx, eax
push edx
push 0
push 0
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_SetRect]
test ebx, ebx
je 0x486a7c
mov ecx, dword [edi + 0x340]
push 0xfffffffffffffff4
push ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x48], ebp
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x34]
push ebp
mov dword [esp + 0x4c], 0xfffff001
mov dword [esp + 0x50], 0x10001
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 2
mov dword [esp + 0x54], esi
mov dword [esp + 0x6c], 0x20
call dword [sym.imp.USER32.dll_GetParent]
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x40]
push ecx
push edx
call fcn.0048eea0
jmp 0x486a9b
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x38]
push eax
push ecx
lea edi, [esp + 0x30]
mov eax, esi
call fcn.00483d10
mov edi, dword [esp + 0xac]
add esp, 8
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov ecx, dword [0x4c1a44]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
sub ecx, edx
push 0
add ecx, eax
push ecx
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.USER32.dll_SetRect]
test ebx, ebx
je 0x486b4b
mov eax, dword [edi + 0x340]
push 0xfffffffffffffff4
push ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], ebp
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x34]
push ebp
mov dword [esp + 0x4c], 0xfffff001
mov dword [esp + 0x50], 0x10001
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], 3
mov dword [esp + 0x54], esi
mov dword [esp + 0x6c], 0x20
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x40]
push eax
push ecx
call fcn.0048eea0
jmp 0x486b6a
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x38]
push edx
push eax
lea edi, [esp + 0x30]
mov eax, esi
call fcn.00483d10
mov edi, dword [esp + 0xac]
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x80]
mov edx, dword [0x4c1a44]
push ecx
mov ecx, dword [esp + 0x14]
sub edx, eax
add edx, ecx
push edx
push 0
sub ecx, eax
push ecx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_SetRect]
test ebx, ebx
je 0x486c10
mov ebx, dword [edi + 0x340]
push 0xfffffffffffffff4
push ebp
mov dword [esp + 0x48], ebp
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x34]
push ebp
mov dword [esp + 0x4c], 0xfffff001
mov dword [esp + 0x50], 0x10001
mov dword [esp + 0x70], ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], 5
mov dword [esp + 0x54], esi
mov dword [esp + 0x6c], 1
call dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x40]
push edx
push eax
call fcn.0048eea0
jmp 0x486c6b
mov eax, dword [edi + 0x344]
test eax, eax
je 0x486c55
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
mov ebx, dword [sym.imp.GDI32.dll_SetBkColor]
push eax
push esi
call ebx
push 0
push 0
push 0x4a5168
lea ecx, [esp + 0x34]
push ecx
push 2
push 0
push 0
push esi
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov edx, dword [esp + 0x14]
push edx
push esi
call ebx
jmp 0x486c6b
mov eax, dword [esp + 0x8c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
call fcn.00483e00
add esp, 0xc
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
push 0xcc0020
push 0
push 0
push esi
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x84]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x88]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
test eax, eax
jle 0x486cf8
mov ecx, dword [0x4c1a44]
mov edx, dword [esp + 0x20]
mov ebx, dword [edi + 0x18]
sub edx, ecx
mov ecx, dword [esp + 0x18]
sub eax, ebx
sub edx, ecx
inc eax
push edx
push eax
mov eax, dword [esp + 0x18]
sub eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, eax
jmp 0x486d00
mov ebx, dword [esp + 0x10]
sub ebx, dword [esp + 0x18]
cmp ebx, dword [0x4bdc4c]
je 0x486d25
mov ecx, dword [0x4c1a7c]
movzx eax, bx
push 0
shl eax, 0x10
or eax, 5
push eax
push ecx
push ebp
mov dword [edi + 0x20], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push edi
push esi
mov esi, ebp
mov dword [0x4bdc4c], ebx
call fcn.00484520
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x90
ret