Function at 0x486d50
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x94
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
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 0x486d83
cmp edi, eax
jne 0x486d83
push 0xf
jmp 0x486d85
push 0x14
call esi
push 0
mov dword [esp + 0x40], eax
call esi
mov edi, dword [esp + 0xa8]
mov esi, dword [0x4c1a68]
mov edx, dword [0x4c1a64]
mov ecx, dword [0x4c1a60]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x344]
neg eax
sbb eax, eax
and eax, 0x4000
mov dword [esp + 0x34], esi
mov dword [esp + 0x88], eax
mov eax, dword [0x4c1a5c]
mov dword [esp + 0x30], edx
add esi, 0x30
push esi
add edx, 0x18
push edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
add ecx, 0xffffffd0
push ecx
add eax, 0xffffffe8
push eax
lea eax, [esp + 0x28]
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 0x486e15
mov eax, dword [edi + 0x24]
test eax, eax
jge 0x486e2f
push 0x15
call esi
imul eax, dword [edi + 0x24]
neg eax
jmp 0x486e2f
cmp eax, 1
jne 0x486e2d
mov eax, dword [edi + 0x24]
test eax, eax
jge 0x486e2f
push 0x14
call esi
imul eax, dword [edi + 0x24]
neg eax
jmp 0x486e2f
xor eax, eax
mov edx, dword [esp + 0x2c]
add edx, eax
mov eax, dword [edi + 0x340]
test eax, eax
mov dword [esp + 0x2c], edx
jne 0x486e56
mov eax, dword [edi + 0x24]
test eax, eax
jge 0x486e70
push 0x15
call esi
imul eax, dword [edi + 0x24]
neg eax
jmp 0x486e70
cmp eax, 1
jne 0x486e6e
mov eax, dword [edi + 0x24]
test eax, eax
jge 0x486e70
push 0x14
call esi
imul eax, dword [edi + 0x24]
neg eax
jmp 0x486e70
xor eax, eax
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0xb0]
sub edx, eax
push ebx
mov dword [esp + 0x38], edx
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x486e99
mov eax, dword [0x4c1a70]
jmp 0x486ec3
mov esi, dword [0x4c1a6c]
mov eax, dword [esp + 0x2c]
sub ebx, esi
mov ecx, ebx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jge 0x486eb5
mov dword [esp + 0x10], eax
mov ecx, eax
mov eax, dword [esp + 0x34]
sub eax, dword [0x4c1a44]
cmp ecx, eax
jle 0x486ec7
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x94]
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 + 0x40], eax
call dword [sym.imp.GDI32.dll_SetLayout]
push 1
push edi
push 0
mov esi, ebp
call fcn.00484520
mov edx, dword [esp + 0xa4]
mov ebx, eax
mov eax, dword [esp + 0xa0]
add esp, 0xc
sub ebx, 4
neg ebx
sbb ebx, ebx
neg edx
push edx
neg eax
push eax
lea ecx, [esp + 0x30]
push ecx
inc ebx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x98]
sub eax, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x2c]
sub edx, eax
sub ecx, esi
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
sub ecx, eax
push edx
mov dword [esp + 0x74], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x38]
mov esi, eax
mov eax, dword [esp + 0x84]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [esp + 0x94], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x10]
push eax
push ecx
push 0
push 0
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USER32.dll_SetRect]
test ebx, ebx
je 0x487038
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 + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x24]
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], 2
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 0x487057
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x3c]
push edx
push eax
lea edi, [esp + 0x20]
mov eax, esi
call fcn.00483d10
mov edi, dword [esp + 0xb0]
add esp, 8
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov eax, dword [0x4c1a44]
push ecx
mov ecx, dword [esp + 0x74]
push edx
add eax, ecx
push eax
push 0
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USER32.dll_SetRect]
test ebx, ebx
je 0x487103
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 + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x24]
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 0x487122
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x3c]
push edx
push eax
lea edi, [esp + 0x20]
mov eax, esi
call fcn.00483d10
mov edi, dword [esp + 0xb0]
add esp, 8
mov eax, dword [esp + 0x70]
mov ecx, dword [0x4c1a44]
mov edx, dword [esp + 0x80]
add ecx, eax
push ecx
push edx
push eax
push 0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_SetRect]
test ebx, ebx
je 0x4871c0
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 + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x24]
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 0x48721b
mov eax, dword [edi + 0x344]
test eax, eax
je 0x487205
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 + 0x24]
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 0x48721b
mov eax, dword [esp + 0x88]
push eax
lea ecx, [esp + 0x1c]
push ecx
push esi
call fcn.00483e00
add esp, 0xc
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
push 0xcc0020
push 0
push 0
push esi
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x90]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x8c]
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 0x4872ab
mov ecx, dword [0x4c1a44]
mov edx, dword [esp + 0x34]
mov ebx, dword [edi + 0x18]
sub edx, ecx
mov ecx, dword [esp + 0x2c]
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 0x4872b3
mov ebx, dword [esp + 0x10]
sub ebx, dword [esp + 0x2c]
cmp ebx, dword [0x4bdc4c]
je 0x4872d8
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, 0x94
ret