Function at 0x4502f0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xb0]
push esi
mov esi, dword [sym.imp.user32.dll_GetSysColor]
push edi
push 0x14
call esi
push 5
mov edi, eax
call esi
cmp edi, 0xffffff
je 0x450321
cmp edi, eax
jne 0x450321
push 0xf
jmp 0x450323
push 0x14
call esi
push 0
mov dword [esp + 0x3c], eax
call esi
mov edi, dword [esp + 0xb4]
mov esi, dword [0x4ab654]
mov ecx, dword [esp + 0xc0]
mov edx, dword [0x4ab650]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x344]
neg eax
sbb eax, eax
and eax, 0x4000
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x44], ecx
mov ecx, dword [0x4ab64c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x40], eax
mov eax, dword [0x4ab648]
add esi, 0x30
push esi
add edx, 0x18
push edx
mov dword [esp + 0x24], ecx
add ecx, 0xffffffd0
mov dword [esp + 0x20], eax
push ecx
add eax, 0xffffffe8
push eax
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.user32.dll_SetRect]
mov eax, dword [edi + 0x340]
test eax, eax
mov esi, dword [sym.imp.user32.dll_GetSystemMetrics]
jne 0x4503c9
mov eax, dword [edi + 0x24]
test eax, eax
jge 0x4503e3
push 0x15
call esi
imul eax, dword [edi + 0x24]
neg eax
jmp 0x4503e3
cmp eax, 1
jne 0x4503e1
mov eax, dword [edi + 0x24]
test eax, eax
jge 0x4503e3
push 0x14
call esi
imul eax, dword [edi + 0x24]
neg eax
jmp 0x4503e3
xor eax, eax
mov edx, dword [esp + 0x1c]
add edx, eax
mov eax, dword [edi + 0x340]
test eax, eax
mov dword [esp + 0x1c], edx
jne 0x45040a
mov eax, dword [edi + 0x24]
test eax, eax
jge 0x450424
push 0x15
call esi
imul eax, dword [edi + 0x24]
neg eax
jmp 0x450424
cmp eax, 1
jne 0x450422
mov eax, dword [edi + 0x24]
test eax, eax
jge 0x450424
push 0x14
call esi
imul eax, dword [edi + 0x24]
neg eax
jmp 0x450424
xor eax, eax
mov esi, dword [esp + 0x24]
sub esi, eax
lea eax, [esp + 0x40]
push eax
push ebp
mov dword [esp + 0x2c], esi
call fcn.004257f0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
add esp, 8
push ecx
push edx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.user32.dll_PtInRect]
test eax, eax
jne 0x45045d
mov ebx, dword [0x4ab65c]
jmp 0x450491
mov eax, dword [esp + 0x44]
mov esi, dword [0x4ab658]
mov ecx, dword [esp + 0x1c]
sub eax, esi
cmp eax, ecx
mov dword [esp + 0x10], eax
jge 0x45047b
mov dword [esp + 0x10], ecx
mov eax, ecx
mov ecx, dword [esp + 0x24]
sub ecx, dword [0x4ab630]
cmp eax, ecx
jle 0x45048d
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0xa0]
push ecx
push ebp
call dword [sym.imp.user32.dll_GetWindowRect]
push ebp
call dword [sym.imp.user32.dll_GetWindowDC]
push 1
push edi
push 0
mov esi, ebp
mov dword [esp + 0x48], eax
call fcn.0044da90
mov edx, dword [esp + 0xb0]
mov esi, eax
mov eax, dword [esp + 0xac]
add esp, 0xc
sub esi, 4
neg esi
sbb esi, esi
neg edx
push edx
neg eax
push eax
lea ecx, [esp + 0x20]
push ecx
inc esi
call dword [sym.imp.user32.dll_OffsetRect]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xa4]
sub eax, ecx
mov ecx, dword [esp + 0x24]
sub ebx, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ebx
sub ecx, eax
sub ebx, eax
push edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x50], ebx
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x3c]
mov ebx, eax
mov eax, dword [esp + 0x5c]
push eax
push ecx
push edx
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esp + 0xa4], eax
call dword [sym.imp.gdi32.dll_SelectObject]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x10]
push eax
push ecx
push 0
push 0
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.user32.dll_SetRect]
test esi, esi
je 0x450609
mov eax, dword [edi + 0x340]
push 0xfffffffffffffff4
push ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], ebp
call dword [sym.imp.user32.dll_GetWindowLongW]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x34]
push ebp
mov dword [esp + 0x6c], 0xfffff001
mov dword [esp + 0x70], 0x10001
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], 2
mov dword [esp + 0x74], ebx
call fcn.004257d0
add esp, 4
push ebp
mov dword [esp + 0x94], eax
mov dword [esp + 0x8c], 0x20
call dword [sym.imp.user32.dll_GetParent]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x60]
push eax
push ecx
call fcn.00458110
jmp 0x450628
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
push edx
push eax
lea edi, [esp + 0x30]
mov eax, ebx
call fcn.0044d270
mov edi, dword [esp + 0xbc]
add esp, 8
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov eax, dword [0x4ab630]
push ecx
mov ecx, dword [esp + 0x50]
push edx
add eax, ecx
push eax
push 0
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.user32.dll_SetRect]
test esi, esi
je 0x4506f1
mov eax, dword [edi + 0x340]
push 0xfffffffffffffff4
push ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], ebp
call dword [sym.imp.user32.dll_GetWindowLongW]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x34]
push ebp
mov dword [esp + 0x6c], 0xfffff001
mov dword [esp + 0x70], 0x10001
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], 3
mov dword [esp + 0x74], ebx
call fcn.004257d0
add esp, 4
push ebp
mov dword [esp + 0x94], eax
mov dword [esp + 0x8c], 0x20
call dword [sym.imp.user32.dll_GetParent]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x60]
push eax
push ecx
call fcn.00458110
jmp 0x450710
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
push edx
push eax
lea edi, [esp + 0x30]
mov eax, ebx
call fcn.0044d270
mov edi, dword [esp + 0xbc]
add esp, 8
mov eax, dword [esp + 0x4c]
mov ecx, dword [0x4ab630]
mov edx, dword [esp + 0x58]
add ecx, eax
push ecx
push edx
push eax
push 0
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.user32.dll_SetRect]
test esi, esi
je 0x45075b
mov ecx, dword [edi + 0x340]
push 1
push 1
push 5
push ecx
push ebx
xor eax, eax
lea esi, [esp + 0x3c]
mov edi, ebp
call fcn.0044db00
mov edi, dword [esp + 0xc8]
add esp, 0x14
jmp 0x4507b6
mov eax, dword [edi + 0x344]
test eax, eax
je 0x4507a0
push 0x10
call dword [sym.imp.user32.dll_GetSysColor]
mov esi, dword [sym.imp.gdi32.dll_SetBkColor]
push eax
push ebx
call esi
push 0
push 0
push 0x48ee44
lea edx, [esp + 0x34]
push edx
push 2
push 0
push 0
push ebx
mov dword [esp + 0x34], eax
call dword [sym.imp.gdi32.dll_ExtTextOutW]
mov eax, dword [esp + 0x14]
push eax
push ebx
call esi
jmp 0x4507b6
mov ecx, dword [esp + 0x98]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebx
call fcn.0044d370
add esp, 0xc
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
push 0xcc0020
push 0
push 0
push ebx
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
push esi
call dword [sym.imp.gdi32.dll_BitBlt]
mov ecx, dword [esp + 0x94]
push ecx
push ebx
call dword [sym.imp.gdi32.dll_SelectObject]
mov edx, dword [esp + 0x9c]
push edx
call dword [sym.imp.gdi32.dll_DeleteObject]
push ebx
call dword [sym.imp.gdi32.dll_DeleteDC]
push esi
push ebp
call dword [sym.imp.user32.dll_ReleaseDC]
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
test eax, eax
jle 0x450840
mov ecx, dword [0x4ab630]
mov edx, dword [esp + 0x24]
mov esi, dword [edi + 0x18]
sub edx, ecx
mov ecx, dword [esp + 0x1c]
sub eax, esi
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 esi, eax
jmp 0x450848
mov esi, dword [esp + 0x10]
sub esi, dword [esp + 0x1c]
cmp esi, dword [0x4a7438]
je 0x45086d
mov ecx, dword [0x4ab668]
movzx eax, si
push 0
shl eax, 0x10
or eax, 5
push eax
push ecx
push ebp
mov dword [edi + 0x20], esi
call dword [sym.imp.user32.dll_SendMessageW]
push 2
mov dword [0x4a7438], esi
push edi
push ebx
mov esi, ebp
call fcn.0044da90
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa0
ret